stockholm/lass/2configs/elster.nix

24 lines
465 B
Nix
Raw Normal View History

2015-07-16 13:51:01 +00:00
{ config, pkgs, ... }:
let
mainUser = config.users.extraUsers.mainUser;
in {
users.extraUsers = {
elster = {
name = "elster";
description = "user for running elster-online";
home = "/home/elster";
useDefaultShell = true;
extraGroups = [];
createHome = true;
};
};
2015-12-12 17:25:37 +00:00
krebs.per-user.elster.packages = [
pkgs.chromium
];
2015-07-16 13:51:01 +00:00
security.sudo.extraConfig = ''
${mainUser.name} ALL=(elster) NOPASSWD: ALL
'';
}