make image.nix a first-class module
This commit is contained in:
parent
46dc2fb521
commit
835036fc6a
|
@ -92,7 +92,7 @@
|
||||||
# boot, checkout this flake into /etc/nixos AND UPDATE THE UUIDS IT REFERENCES.
|
# boot, checkout this flake into /etc/nixos AND UPDATE THE UUIDS IT REFERENCES.
|
||||||
# then `nixos-rebuild ...`
|
# then `nixos-rebuild ...`
|
||||||
decl-img = { name, system, extraModules ? [] }: (
|
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
|
.config.system.build.img
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./gui
|
./gui
|
||||||
./hardware
|
./hardware
|
||||||
|
./image.nix
|
||||||
./impermanence.nix
|
./impermanence.nix
|
||||||
./services/duplicity.nix
|
./services/duplicity.nix
|
||||||
./universal
|
./universal
|
||||||
|
|
Loading…
Reference in New Issue
Block a user