diff options
Diffstat (limited to 'modules/lass/elster.nix')
-rw-r--r-- | modules/lass/elster.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/lass/elster.nix b/modules/lass/elster.nix new file mode 100644 index 000000000..c31c2f310 --- /dev/null +++ b/modules/lass/elster.nix @@ -0,0 +1,17 @@ +{ config, pkgs, ... }: + +{ + users.extraUsers = { + elster = { + name = "elster"; + description = "user for running elster-online"; + home = "/home/elster"; + useDefaultShell = true; + extraGroups = []; + createHome = true; + }; + }; + security.sudo.extraConfig = '' + lass ALL=(elster) NOPASSWD: ALL + ''; +} |