diff options
Diffstat (limited to '')
-rw-r--r-- | flake/packages/default.nix | 49 |
1 files changed, 14 insertions, 35 deletions
diff --git a/flake/packages/default.nix b/flake/packages/default.nix index 8ca00e98..0c3d6c1b 100644 --- a/flake/packages/default.nix +++ b/flake/packages/default.nix @@ -4,39 +4,18 @@ defaultSpecialArgs, pkgs, sysLib, - lib, ... -}: { - iso = nixos-generators.nixosGenerate { - system = "x86_64-linux"; - specialArgs = defaultSpecialArgs; - modules = [ - ../../hosts/marduk - ]; - format = "install-iso"; - }; - install = import ../../bootstrap/install { - inherit - pkgs - sysLib - ; - }; - activate = import ../../bootstrap/activate { - inherit - pkgs - sysLib - ; - }; - setup = import ../../bootstrap/setup { - inherit - pkgs - sysLib - ; - }; - config_setup = import ../../bootstrap/config_setup { - inherit - pkgs - sysLib - ; - }; -} +}: let + output = import ../../bootstrap {inherit pkgs sysLib;}; +in + { + iso = nixos-generators.nixosGenerate { + system = "x86_64-linux"; + specialArgs = defaultSpecialArgs; + modules = [ + ../../hosts/marduk + ]; + format = "install-iso"; + }; + } + // output |