summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/machine-id/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/machine-id/default.nix b/modules/machine-id/default.nix
index 2c33db26..b3183da8 100644
--- a/modules/machine-id/default.nix
+++ b/modules/machine-id/default.nix
@@ -30,7 +30,7 @@ in {
30 }; 30 };
31 31
32 config = mkIf cfg.enable { 32 config = mkIf cfg.enable {
33 environment.etc."machine-id".text = mkDefault machine-id; 33 environment.etc."machine-id".text = mkDefault (machine-id + "\n");
34 networking.hostId = mkDefault (substring 0 8 machine-id); 34 networking.hostId = mkDefault (substring 0 8 machine-id);
35 }; 35 };
36} 36}