summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-05-22 20:16:53 +0200
committermakefu <github@syntax-fehler.de>2020-05-22 20:16:53 +0200
commit39cc7e81edc35f34fa8e242277bd69f51d84566f (patch)
tree6ffe90809e8a77326787ade179918eee6c0fe8c6 /krebs
parent4ba18c6d2a442834e79b5526eff0aa2c5f8398e8 (diff)
urlwatch module: use users.users.{name} istead of a list
Diffstat (limited to 'krebs')
-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;
};