summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-06-02 22:48:44 +0200
committertv <tv@krebsco.de>2020-06-02 22:48:44 +0200
commit8b2a87d7e12c345246d6da439754f45a5a9f3ad0 (patch)
tree2a6ae48762eb1973d74bc020afd033bb91738221
parent0ae752cefe8aa92e00ab704844309bc2de58adbf (diff)
urlwatch: modernize user config
-rw-r--r--krebs/3modules/urlwatch.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/3modules/urlwatch.nix b/krebs/3modules/urlwatch.nix
index 43535b08f..0b7a71db5 100644
--- a/krebs/3modules/urlwatch.nix
+++ b/krebs/3modules/urlwatch.nix
@@ -189,8 +189,8 @@ let
'';
};
};
- users.extraUsers = singleton {
- inherit (user) name uid;
+ users.users.${user.name} = {
+ inherit (user) uid;
home = cfg.dataDir;
createHome = true;
};