From f73a50581ce192d27c80aea6ee23ff36b36a4363 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 27 Dec 2024 15:22:01 +0200 Subject: [PATCH] Trying to make website user work again --- configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 314aaff..1720dcc 100644 --- a/configuration.nix +++ b/configuration.nix @@ -26,15 +26,16 @@ ]; users.users.website = { + createHome = true; isSystemUser = true; group = "users"; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7P9K9D5RkBk+JCRRS6AtHuTAc6cRpXfRfRMg/Kyren" ]; }; - # systemd.tmpfiles.rules = [ - # "d /srv/website 0700 website website" - # ]; + systemd.tmpfiles.rules = [ + "d /srv/website 0700 website website" + ]; sops = { defaultSopsFile = ./secrets.yaml;