diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-12-07 18:37:24 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-12-07 18:37:24 -0800 |
| commit | ff53e352f7e2016ff5a2b31859a278f65b18e98f (patch) | |
| tree | 7e54a23985c8fdf3f637681d9bfa4f595281e23e | |
| parent | update to nix 25.11 (diff) | |
| download | infra-ff53e352f7e2016ff5a2b31859a278f65b18e98f.tar.gz | |
initial setup for jovian on rivendell
Diffstat (limited to '')
| -rw-r--r-- | flake.lock | 58 | ||||
| -rw-r--r-- | flake.nix | 6 | ||||
| -rw-r--r-- | flake/hosts.nix | 1 | ||||
| -rw-r--r-- | machines/nixos/x86_64-linux/rivendell.nix | 22 |
4 files changed, 87 insertions, 0 deletions
@@ -283,6 +283,27 @@ "type": "github" } }, + "jovian": { + "inputs": { + "nix-github-actions": "nix-github-actions", + "nixpkgs": [ + "nixpkgs-unstable" + ] + }, + "locked": { + "lastModified": 1764922999, + "narHash": "sha256-LSvUxKm6S6ZAd/otQSkAHd3+8KJhi8OwGJGSe0K//B8=", + "owner": "Jovian-Experiments", + "repo": "Jovian-NixOS", + "rev": "9b9ead1b5591b68f4048e7205ba1397bc85ce6c4", + "type": "github" + }, + "original": { + "owner": "Jovian-Experiments", + "repo": "Jovian-NixOS", + "type": "github" + } + }, "my-go-tools": { "inputs": { "flake-utils": "flake-utils", @@ -304,6 +325,28 @@ "url": "https://code.fcuny.net/x" } }, + "nix-github-actions": { + "inputs": { + "nixpkgs": [ + "jovian", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1729697500, + "narHash": "sha256-VFTWrbzDlZyFHHb1AlKRiD/qqCJIripXKiCSFS8fAOY=", + "owner": "zhaofengli", + "repo": "nix-github-actions", + "rev": "e418aeb728b6aa5ca8c5c71974e7159c2df1d8cf", + "type": "github" + }, + "original": { + "owner": "zhaofengli", + "ref": "matrix-name", + "repo": "nix-github-actions", + "type": "github" + } + }, "nixos-hardware": { "locked": { "lastModified": 1762847253, @@ -352,6 +395,19 @@ "type": "github" } }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1764950072, + "narHash": "sha256-lft4/rbh1nFSjHqQatxPEq3n68+iH7QmT5Tqr784e0Q=", + "rev": "f61125a668a320878494449750330ca58b78c557", + "type": "tarball", + "url": "https://releases.nixos.org/nixos/unstable/nixos-26.05pre907002.f61125a668a3/nixexprs.tar.xz" + }, + "original": { + "type": "tarball", + "url": "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz" + } + }, "nixpkgs_2": { "locked": { "narHash": "sha256-pyyfJp6Q80D0YhEuuP/qzasUZjoK3C3PrCp8BPWcDZE=", @@ -438,9 +494,11 @@ "emacs-overlay": "emacs-overlay", "flake-parts": "flake-parts", "home-manager": "home-manager_2", + "jovian": "jovian", "my-go-tools": "my-go-tools", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_2", + "nixpkgs-unstable": "nixpkgs-unstable", "nur": "nur", "pre-commit-hooks": "pre-commit-hooks_2", "treefmt-nix": "treefmt-nix_2" @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "https://channels.nixos.org/nixos-25.11/nixexprs.tar.xz"; + nixpkgs-unstable.url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz"; home-manager = { url = "github:nix-community/home-manager/release-25.11"; @@ -53,6 +54,11 @@ inputs.nixpkgs-lib.follows = "nixpkgs"; }; + jovian = { + url = "github:Jovian-Experiments/Jovian-NixOS"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; + my-go-tools.url = "git+https://code.fcuny.net/x"; }; diff --git a/flake/hosts.nix b/flake/hosts.nix index 2a3f062..18dd93a 100644 --- a/flake/hosts.nix +++ b/flake/hosts.nix @@ -70,6 +70,7 @@ let nixSettings inputs.agenix.nixosModules.age inputs.disko.nixosModules.disko + inputs.jovian.nixosModules.default inputs.home-manager.nixosModules.home-manager ../modules/default.nix ]; diff --git a/machines/nixos/x86_64-linux/rivendell.nix b/machines/nixos/x86_64-linux/rivendell.nix index 23d1683..f75fe60 100644 --- a/machines/nixos/x86_64-linux/rivendell.nix +++ b/machines/nixos/x86_64-linux/rivendell.nix @@ -21,6 +21,7 @@ ]; networking.hostName = "rivendell"; + networking.networkmanager.enable = true; networking.useDHCP = lib.mkDefault true; systemd.network.wait-online.anyInterface = lib.mkDefault config.networking.useDHCP; @@ -58,5 +59,26 @@ }; }; + services = { + desktopManager.plasma6.enable = true; + }; + + jovian = { + hardware = { + has.amd.gpu = true; + amd.gpu.enableBacklightControl = false; + }; + steam = { + updater.splash = "vendor"; + enable = true; + autoStart = true; + user = "fcuny"; + desktopSession = "plasma"; + }; + steamos = { + useSteamOSConfig = true; + }; + }; + system.stateVersion = "23.11"; # Did you read the comment? } |
