From 96692e549d694f727f90c167a521d005e3ab2fed Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 15 Oct 2019 00:18:57 +0200 Subject: [PATCH] Set hostname --- configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index a2212d7..1c039ed 100644 --- a/configuration.nix +++ b/configuration.nix @@ -30,5 +30,11 @@ # Configure basic SSH access services.openssh.enable = true; - services.openssh.permitRootLogin = true; + services.openssh.permitRootLogin = "yes"; + + # Cleanup tmp on startup + boot.cleanTmpDir = true; + + # Set hostname + networking.hostName = "zion"; }