diff options
| author | andromeda <andromeda@lenovo> | 2026-01-06 18:30:12 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-06 18:30:12 +0100 |
| commit | beaceffff0accc30d7394c4e2865bea5797be6c0 (patch) | |
| tree | fa6f4ba1dc4d2552540c33289a5ba972b9105652 /modules/nixos/common.nix | |
| parent | c9a5c521dbc7785aa4a6c1f410e547202075c13b (diff) | |
init
Diffstat (limited to 'modules/nixos/common.nix')
| -rw-r--r-- | modules/nixos/common.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index 3c00de0..c0d1d73 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix @@ -1,4 +1,8 @@ -{config, ...}: { +{ + config, + lib, + ... +}: { # flakes usage nix.settings.experimental-features = [ "flakes" @@ -12,5 +16,5 @@ # cleans /tmp to maintain a tidy system boot.tmp.cleanOnBoot = true; - networking.domain = config.networking.hostname; + networking.domain = lib.mkDefault config.networking.hostName; } |
