diff --git a/flake.lock b/flake.lock index f907fff..bab184a 100644 --- a/flake.lock +++ b/flake.lock @@ -220,6 +220,42 @@ "type": "github" } }, + "nixlib": { + "locked": { + "lastModified": 1736643958, + "narHash": "sha256-tmpqTSWVRJVhpvfSN9KXBvKEXplrwKnSZNAoNPf/S/s=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "1418bc28a52126761c02dd3d89b2d8ca0f521181", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, + "nixos-generators": { + "inputs": { + "nixlib": "nixlib", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1751903740, + "narHash": "sha256-PeSkNMvkpEvts+9DjFiop1iT2JuBpyknmBUs0Un0a4I=", + "owner": "nix-community", + "repo": "nixos-generators", + "rev": "032decf9db65efed428afd2fa39d80f7089085eb", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixos-generators", + "type": "github" + } + }, "nixos-hardware": { "locked": { "lastModified": 1751999883, @@ -271,6 +307,7 @@ "hjem": "hjem", "hjem-rum": "hjem-rum", "nix-index-database": "nix-index-database", + "nixos-generators": "nixos-generators", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs" } diff --git a/flake.nix b/flake.nix index 732e330..d1aca00 100644 --- a/flake.nix +++ b/flake.nix @@ -32,6 +32,11 @@ }; nixos-hardware.url = "github:pluiedev/nixos-hardware/pluie/jj-nsvpsuspltqm"; + + nixos-generators = { + url = "github:nix-community/nixos-generators"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = diff --git a/systems/common.nix b/systems/common.nix index af6d85b..28ecd66 100644 --- a/systems/common.nix +++ b/systems/common.nix @@ -8,6 +8,7 @@ }: { imports = [ + inputs.nixos-generators.nixosModules.all-formats ../users ];