From 13e52cb27e3925ab0482226db7a0b23735a39642 Mon Sep 17 00:00:00 2001 From: Fern Garden Date: Wed, 9 Jul 2025 09:32:39 +0800 Subject: [PATCH] Move hostname config --- suites/common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/suites/common.nix b/suites/common.nix index 9b44417..f53627b 100644 --- a/suites/common.nix +++ b/suites/common.nix @@ -1,6 +1,7 @@ { pkgs, lib, + hostname, user, ... }: @@ -48,6 +49,9 @@ with lib; # Enable networking. networking.networkmanager.enable = true; + # Set hostname + networking.hostName = hostname; + # Define a user account. users.users.${user} = { isNormalUser = true;