mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
fix: set hostname with higher priority
This commit is contained in:
parent
11ba487bf0
commit
aaf3babf9b
2 changed files with 1 additions and 3 deletions
|
@ -17,7 +17,6 @@
|
|||
mkOption
|
||||
mkOptionType
|
||||
mkMerge
|
||||
optionalAttrs
|
||||
recursiveUpdate
|
||||
hasAttrByPath
|
||||
setAttrByPath
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
inherit
|
||||
(lib)
|
||||
mdDoc
|
||||
mkDefault
|
||||
mkOption
|
||||
types
|
||||
;
|
||||
|
@ -26,6 +25,6 @@ in {
|
|||
};
|
||||
|
||||
config = {
|
||||
networking.hostName = mkDefault config.node.name;
|
||||
networking.hostName = config.node.name;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue