summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-25 03:03:57 -0700
committerFuwn <[email protected]>2024-09-25 03:03:57 -0700
commit667ac8e701d09e112c842e10d61d290620cff331 (patch)
tree55f32e028f603298e60ad7346295f502662f7c26 /hosts
parentresolved: move to core (diff)
downloadnixos-config-667ac8e701d09e112c842e10d61d290620cff331.tar.xz
nixos-config-667ac8e701d09e112c842e10d61d290620cff331.zip
modules: move networking hostname to hosts
Diffstat (limited to 'hosts')
-rw-r--r--hosts/himeji/default.nix5
-rw-r--r--hosts/kansai/default.nix1
2 files changed, 4 insertions, 2 deletions
diff --git a/hosts/himeji/default.nix b/hosts/himeji/default.nix
index e5bdc60..3c3727b 100644
--- a/hosts/himeji/default.nix
+++ b/hosts/himeji/default.nix
@@ -8,6 +8,9 @@
];
config = {
+ networking.hostName = "himeji";
+ system.stateVersion = "24.05";
+
modules = {
nix.extend = false;
@@ -20,7 +23,5 @@
];
};
};
-
- system.stateVersion = "24.05";
};
}
diff --git a/hosts/kansai/default.nix b/hosts/kansai/default.nix
index ebca9a8..164f0d5 100644
--- a/hosts/kansai/default.nix
+++ b/hosts/kansai/default.nix
@@ -6,5 +6,6 @@
../../modules/options
];
+ networking.hostName = "kansai";
system.stateVersion = "24.05";
}