Set system.name
from systems key
This commit is contained in:
parent
69c508ea07
commit
0905611700
@ -26,7 +26,13 @@ let
|
||||
nixosSystem' {
|
||||
inherit lib system;
|
||||
specialArgs = { inherit inputs system; };
|
||||
modules = attrValues modules ++ [ { networking.hostName = mkDefault name; } config ];
|
||||
modules = attrValues modules ++ [
|
||||
{
|
||||
system.name = name;
|
||||
networking.hostName = mkDefault name;
|
||||
}
|
||||
config
|
||||
];
|
||||
};
|
||||
in
|
||||
mapAttrs mkSystem {
|
||||
|
Loading…
Reference in New Issue
Block a user