make image.nix a first-class module

This commit is contained in:
colin 2022-06-23 15:31:19 -07:00
parent 46dc2fb521
commit 835036fc6a
3 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,7 @@
# boot, checkout this flake into /etc/nixos AND UPDATE THE UUIDS IT REFERENCES.
# then `nixos-rebuild ...`
decl-img = { name, system, extraModules ? [] }: (
(self.decl-machine { inherit name system; extraModules = extraModules ++ [./image.nix]; })
(self.decl-machine { inherit name system extraModules; })
.config.system.build.img
);

View File

@ -4,6 +4,7 @@
imports = [
./gui
./hardware
./image.nix
./impermanence.nix
./services/duplicity.nix
./universal