diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/lass/elster.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/lass/elster.nix b/modules/lass/elster.nix index c31c2f310..1edd01896 100644 --- a/modules/lass/elster.nix +++ b/modules/lass/elster.nix @@ -1,6 +1,9 @@ { config, pkgs, ... }: -{ +let + mainUser = config.users.extraUsers.mainUser; + +in { users.extraUsers = { elster = { name = "elster"; @@ -12,6 +15,6 @@ }; }; security.sudo.extraConfig = '' - lass ALL=(elster) NOPASSWD: ALL + ${mainUser.name} ALL=(elster) NOPASSWD: ALL ''; } |