From aaf3babf9b89d3355906b4d16c1459eca0f9c56d Mon Sep 17 00:00:00 2001 From: oddlama Date: Sat, 1 Jul 2023 01:44:26 +0200 Subject: [PATCH] fix: set hostname with higher priority --- modules/repo/distributed-config.nix | 1 - modules/repo/meta.nix | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/repo/distributed-config.nix b/modules/repo/distributed-config.nix index a8bfafa..4724b33 100644 --- a/modules/repo/distributed-config.nix +++ b/modules/repo/distributed-config.nix @@ -17,7 +17,6 @@ mkOption mkOptionType mkMerge - optionalAttrs recursiveUpdate hasAttrByPath setAttrByPath diff --git a/modules/repo/meta.nix b/modules/repo/meta.nix index a68f7ad..3a6d4d4 100644 --- a/modules/repo/meta.nix +++ b/modules/repo/meta.nix @@ -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; }; }