diff options
author | Soispha <soispha@vhack.eu> | 2023-04-22 12:07:54 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-05-09 19:31:20 +0200 |
commit | 3fc2c8d0c8c4a3c839fc12abad94ca83f4d21870 (patch) | |
tree | c0172a350b9f4bb0e3448b3f20c228c1403dbe0d /flake/packages | |
parent | Fix(hosts): Rename spawn to marduk to comply with scheme (diff) | |
download | nixos-config-3fc2c8d0c8c4a3c839fc12abad94ca83f4d21870.tar.gz nixos-config-3fc2c8d0c8c4a3c839fc12abad94ca83f4d21870.zip |
Feat(flake): Modularize
Diffstat (limited to 'flake/packages')
-rw-r--r-- | flake/packages/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
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 + ; + }; +} |