summaryrefslogtreecommitdiff
path: root/nixos/hosts.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/hosts.nix')
-rw-r--r--nixos/hosts.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/hosts.nix b/nixos/hosts.nix
new file mode 100644
index 0000000..a87f3b4
--- /dev/null
+++ b/nixos/hosts.nix
@@ -0,0 +1,4 @@
+{ hostname, ... }: {
+ networking.hostName = hostname; # From flake.nix
+ environment.etc.hosts.mode = "0644"; # Allow temporary imperative modifications
+}