diff --git a/flake.nix b/flake.nix index b968405..c98cfd8 100644 --- a/flake.nix +++ b/flake.nix @@ -6,28 +6,24 @@ nixpkgs-unstable, home-manager, ... - }: { + }: let + specials = { + inherit inputs; + pkgs-unstable = import nixpkgs-unstable { + system = "x86_64-linux"; + config.allowUnfree = true; + }; + }; + in { nixosConfigurations = { wildfire = nixpkgs.lib.nixosSystem { - specialArgs = { - inherit inputs; - pkgs-unstable = import nixpkgs-unstable { - system = "x86_64-linux"; - config.allowUnfree = true; - }; - }; + specialArgs = specials; modules = [ ./hosts/wildfire/configuration.nix ]; }; hurricane = nixpkgs.lib.nixosSystem { - specialArgs = { - inherit inputs; - pkgs-unstable = import nixpkgs-unstable { - system = "x86_64-linux"; - config.allowUnfree = true; - }; - }; + specialArgs = specials; modules = [ ./hosts/hurricane/configuration.nix ];