From 5078abb8ff8e775fc346c3a1c8a1cd7941329ba5 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 29 Oct 2023 15:41:37 -0400 Subject: templates/nixos: simplify --- templates/nixos/flake.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'templates/nixos/flake.nix') 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; }; } -- cgit v1.2.3