summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-01-09 10:18:50 +0530
committersinanmohd <sinan@sinanmohd.com>2024-01-09 10:19:13 +0530
commite6f5baba683a515ca90ee62d0b06c724fa8e3693 (patch)
treec9db84b8f4c0591c6a7faec18d1184d74d461f68 /flake.nix
parentebf41683da9c54a80fd274da8520079a6b338567 (diff)
hosts: set hostname from flake
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 4307a26..df4d99a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -15,6 +15,7 @@
makeHost = host: system: lib.nixosSystem {
inherit system;
modules = [
+ { networking.hostName = host; }
./hosts/${host}/configuration.nix
sops-nix.nixosModules.sops
];