summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-01-06 14:52:34 +0100
committerandromeda <andromeda@lenovo>2026-01-06 14:52:34 +0100
commitc9a5c521dbc7785aa4a6c1f410e547202075c13b (patch)
tree4362c945c787bac5d7d1bb63d04d7281bfddf6c8 /flake.nix
parent0a7e0c699e2f4fa07fb6dde0080da4eb3ac8f746 (diff)
stash
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 8bd44d7..0965a26 100644
--- a/flake.nix
+++ b/flake.nix
@@ -62,7 +62,6 @@
modules =
modules
++ [
- ./machines/${machine.hostname}/configuration.nix
./users.nix
./secrets.nix
impermanence.nixosModules.impermanence
@@ -77,6 +76,15 @@
nix-zulip'.overlays.default
];
}
+ (
+ if machine.hostname != "109-199-104-83"
+ then
+ {config, ...}: {
+ imports = [./machines/${machine.hostname}/configuration.nix];
+ networking.domain = config.networking.hostName; # temporary fix
+ }
+ else {imports = machine.modules;}
+ )
];
};
configurationWithHomeManager = machine: (configuration machine