diff options
Diffstat (limited to 'templates/nixos/flake.nix')
| -rw-r--r-- | templates/nixos/flake.nix | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/templates/nixos/flake.nix b/templates/nixos/flake.nix index 54a19bf..7c3e15d 100644 --- a/templates/nixos/flake.nix +++ b/templates/nixos/flake.nix @@ -9,17 +9,11 @@ }; }; - outputs = { - nixpkgs, - self, - ... - } @ inputs: { + outputs = {nixpkgs, ...} @ inputs: { nixosConfigurations."myHostname" = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - modules = [./configuration.nix self.nixosModules.default]; - specialArgs = {inherit inputs;} // inputs; + modules = [./configuration.nix]; + specialArgs = {inherit inputs;}; }; - - nixosModules.default = import ./modules; }; } |
