mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
config: fix image format module condition
This commit is contained in:
parent
9a07eedb14
commit
9a0079a7fc
@ -342,7 +342,10 @@
|
||||
# modules.
|
||||
networking.hostName = lib.mkOverride 2000 host';
|
||||
})
|
||||
(lib'.optionalAttrs (images ? host') inputs.nixos-generators.nixosModules.${images.${host'}.format})
|
||||
(lib'.optionalAttrs (lib'.hasAttr host' images)
|
||||
(let
|
||||
imageFormat = images.${host'}.format;
|
||||
in inputs.nixos-generators.nixosModules.${imageFormat}))
|
||||
hostSharedConfig
|
||||
path
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user