From 3fc2c8d0c8c4a3c839fc12abad94ca83f4d21870 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 22 Apr 2023 12:07:54 +0200 Subject: Feat(flake): Modularize --- flake/packages/default.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 flake/packages/default.nix (limited to 'flake/packages') diff --git a/flake/packages/default.nix b/flake/packages/default.nix new file mode 100644 index 00000000..470ea05c --- /dev/null +++ b/flake/packages/default.nix @@ -0,0 +1,40 @@ +{ + nixos-generators, + defaultSpecialArgs, + pkgs, + shell-library, + ... +}: { + iso = nixos-generators.nixosGenerate { + system = "x86_64-linux"; + specialArgs = defaultSpecialArgs; + modules = [ + ../../hosts/marduk + ]; + format = "install-iso"; + }; + install = import ../../bootstrap/install { + inherit + pkgs + shell-library + ; + }; + activate = import ../../bootstrap/activate { + inherit + pkgs + shell-library + ; + }; + setup = import ../../bootstrap/setup { + inherit + pkgs + shell-library + ; + }; + config_setup = import ../../bootstrap/config_setup { + inherit + pkgs + shell-library + ; + }; +} -- cgit 1.4.1