diff --git a/configuration.nix b/configuration.nix index f617557..81a1e8b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -26,14 +26,15 @@ ]; users.users.website = { - home = "/srv/website"; - createHome = true; isSystemUser = true; group = "users"; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7P9K9D5RkBk+JCRRS6AtHuTAc6cRpXfRfRMg/Kyren" ]; }; + systemd.tmpfiles.rules = [ + "d /srv/website 0700 website website" + ]; sops = { defaultSopsFile = ./secrets.yaml;