Set system.name
from systems key
This commit is contained in:
parent
69c508ea07
commit
0905611700
@ -26,7 +26,13 @@ let
|
|||||||
nixosSystem' {
|
nixosSystem' {
|
||||||
inherit lib system;
|
inherit lib system;
|
||||||
specialArgs = { inherit inputs 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
|
in
|
||||||
mapAttrs mkSystem {
|
mapAttrs mkSystem {
|
||||||
|
Loading…
Reference in New Issue
Block a user