diff --git a/flake.lock b/flake.lock index 01a4f6e..80d9ab6 100644 --- a/flake.lock +++ b/flake.lock @@ -2,7 +2,9 @@ "nodes": { "home-manager": { "inputs": { - "nixpkgs": "nixpkgs" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1735344290, @@ -21,7 +23,9 @@ }, "musnix": { "inputs": { - "nixpkgs": "nixpkgs_2" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1734848678, @@ -38,38 +42,6 @@ } }, "nixpkgs": { - "locked": { - "lastModified": 1735264675, - "narHash": "sha256-MgdXpeX2GuJbtlBrH9EdsUeWl/yXEubyvxM1G+yO4Ak=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "d49da4c08359e3c39c4e27c74ac7ac9b70085966", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-24.11", - "repo": "nixpkgs", - "type": "github" - } - }, - "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": 1735264675, "narHash": "sha256-MgdXpeX2GuJbtlBrH9EdsUeWl/yXEubyvxM1G+yO4Ak=", @@ -85,33 +57,19 @@ "type": "github" } }, - "nixpkgs_4": { - "locked": { - "lastModified": 1735268880, - "narHash": "sha256-7QEFnKkzD13SPxs+UFR5bUFN2fRw+GlL0am72ZjNre4=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "7cc0bff31a3a705d3ac4fdceb030a17239412210", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "root": { "inputs": { "home-manager": "home-manager", "musnix": "musnix", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs", "sops-nix": "sops-nix" } }, "sops-nix": { "inputs": { - "nixpkgs": "nixpkgs_4" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1734546875, diff --git a/flake.nix b/flake.nix index 92dd163..88daa9f 100644 --- a/flake.nix +++ b/flake.nix @@ -5,10 +5,13 @@ nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; home-manager.url = "github:nix-community/home-manager/release-24.11"; + home-manager.inputs.nixpkgs.follows = "nixpkgs"; sops-nix.url = "github:Mic92/sops-nix"; + sops-nix.inputs.nixpkgs.follows = "nixpkgs"; musnix.url = "github:musnix/musnix"; + musnix.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { @@ -33,11 +36,10 @@ }; in { nixosConfigurations."MaxNixosLaptop" = nixpkgs.lib.nixosSystem { + inherit system; specialArgs = { - inherit inputs; - inherit pkgs; + inherit inputs pkgs system; }; - system = "x86_64-linux"; modules = [ ./hosts/MaxNixosLaptop/configuration.nix sops-nix.nixosModules.sops