mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
config: update the image output extra modules
This commit is contained in:
parent
c81038e609
commit
4e428bf8e4
@ -353,7 +353,12 @@
|
||||
format = metadata.format or "iso";
|
||||
extraModules = [
|
||||
({ lib, ... }: {
|
||||
networking.hostName = lib.mkOverride 2000 host;
|
||||
config = lib.mkMerge [
|
||||
{ networking.hostName = metadata.hostname or host; }
|
||||
|
||||
(lib.mkIf (metadata ? domain)
|
||||
{ networking.domain = metadata.domain; })
|
||||
];
|
||||
})
|
||||
hostSharedConfig
|
||||
./hosts/${host}
|
||||
|
Loading…
Reference in New Issue
Block a user