diff --git a/flake.lock b/flake.lock index 6c76a1f..33e6036 100644 --- a/flake.lock +++ b/flake.lock @@ -262,6 +262,25 @@ "type": "github" } }, + "jovian": { + "inputs": { + "nix-github-actions": "nix-github-actions_2", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1738875499, + "narHash": "sha256-P3VbO2IkEW+0d0pJU7CuX8e+obSoiDw/YCVL1mnA26w=", + "owner": "Jovian-Experiments", + "repo": "Jovian-NixOS", + "rev": "4642ec1073a7417e6303484d8f2e7d29dc24a50f", + "type": "github" + }, + "original": { + "owner": "Jovian-Experiments", + "repo": "Jovian-NixOS", + "type": "github" + } + }, "lanzaboote": { "inputs": { "crane": "crane", @@ -291,7 +310,7 @@ "manyfold": { "inputs": { "flake-utils": "flake-utils_2", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs_2" }, "locked": { "lastModified": 1735525498, @@ -335,7 +354,7 @@ }, "nix-darwin": { "inputs": { - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs_3" }, "locked": { "lastModified": 1738277753, @@ -373,10 +392,32 @@ "type": "github" } }, + "nix-github-actions_2": { + "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-apple-silicon": { "inputs": { "flake-compat": "flake-compat_3", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs_4", "rust-overlay": "rust-overlay_2" }, "locked": { @@ -411,11 +452,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1735291276, - "narHash": "sha256-NYVcA06+blsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M=", + "lastModified": 1738546358, + "narHash": "sha256-nLivjIygCiqLp5QcL7l56Tca/elVqM9FG1hGd9ZSsrg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "634fd46801442d760e09493a794c4f15db2d0cbb", + "rev": "c6e957d81b96751a3d5967a0fd73694f303cc914", "type": "github" }, "original": { @@ -486,6 +527,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1735291276, + "narHash": "sha256-NYVcA06+blsLG6wpAbSPTCyLvxD/92Hy4vlY9WxFI1M=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "634fd46801442d760e09493a794c4f15db2d0cbb", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1736241350, "narHash": "sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU=", @@ -501,7 +558,7 @@ "type": "github" } }, - "nixpkgs_3": { + "nixpkgs_4": { "locked": { "lastModified": 1737469691, "narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=", @@ -581,6 +638,7 @@ "home-manager": "home-manager", "home-manager-stable": "home-manager-stable", "impermanence": "impermanence", + "jovian": "jovian", "lanzaboote": "lanzaboote", "manyfold": "manyfold", "nix-darwin": "nix-darwin", diff --git a/flake.nix b/flake.nix index dc03265..c74e9d0 100644 --- a/flake.nix +++ b/flake.nix @@ -199,7 +199,7 @@ { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; - home-manager.users.matt = import ./hosts/deck/home.nix; + home-manager.users.deck = import ./hosts/deck/home.nix; home-manager.backupFileExtension = "backup"; } diff --git a/hosts/deck/configuration.nix b/hosts/deck/configuration.nix index ba2760a..1024314 100644 --- a/hosts/deck/configuration.nix +++ b/hosts/deck/configuration.nix @@ -30,6 +30,7 @@ optimise.automatic = lib.mkDefault true; }; + networking.hostName = "steamdeck"; networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. # Set your time zone. @@ -62,10 +63,11 @@ # List packages installed in system profile. To search, run: # $ nix search wget - # environment.systemPackages = with pkgs; [ + environment.systemPackages = with pkgs; [ + plymouth # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # wget - # ]; + ]; # Some programs need SUID wrappers, can be configured further or are # started in user sessions. @@ -89,7 +91,7 @@ # Copy the NixOS configuration file and link it from the resulting system # (/run/current-system/configuration.nix). This is useful in case you # accidentally delete configuration.nix. - system.copySystemConfiguration = true; + # system.copySystemConfiguration = true; # This option defines the first version of NixOS you have installed on this particular machine, # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.