From 8698af9810ef14c0873aafb6f5b16cd080cfd6e1 Mon Sep 17 00:00:00 2001 From: makefu <github@syntax-fehler.de> Date: Sat, 5 Jun 2021 15:08:59 +0200 Subject: [PATCH] ma: isSystemUser everything --- 2configs/bgt/download.binaergewitter.de.nix | 1 + 2configs/dcpp/hub.nix | 3 ++- 2configs/nsupdate-data.nix | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/2configs/bgt/download.binaergewitter.de.nix b/2configs/bgt/download.binaergewitter.de.nix index 4abc7d3..6ce0606 100644 --- a/2configs/bgt/download.binaergewitter.de.nix +++ b/2configs/bgt/download.binaergewitter.de.nix @@ -22,6 +22,7 @@ in { uid = genid "auphonic"; group = "nginx"; useDefaultShell = true; + isSystemUser = true; openssh.authorizedKeys.keys = [ ident config.krebs.users.makefu.pubkey ]; }; diff --git a/2configs/dcpp/hub.nix b/2configs/dcpp/hub.nix index fbbce1f..d9a2869 100644 --- a/2configs/dcpp/hub.nix +++ b/2configs/dcpp/hub.nix @@ -33,10 +33,11 @@ let uhubDir = "/var/lib/uhub"; in { - users.extraUsers."${ddclientUser}" = { + users.users."${ddclientUser}" = { uid = genid "ddclient"; description = "ddclient daemon user"; home = stateDir; + isSystemUser = true; createHome = true; }; diff --git a/2configs/nsupdate-data.nix b/2configs/nsupdate-data.nix index cfa6193..2f8f4ac 100644 --- a/2configs/nsupdate-data.nix +++ b/2configs/nsupdate-data.nix @@ -34,6 +34,7 @@ in { description = "ddclient daemon user"; home = stateDir; createHome = true; + isSystemUser = true; }; systemd.services = {