stockholm/lass/2configs/review.nix

15 lines
265 B
Nix
Raw Normal View History

2021-06-05 12:26:26 +00:00
{ config, pkgs, ... }:
let
mainUser = config.users.extraUsers.mainUser;
in {
users.users.review = {
isNormalUser = true;
packages = [ pkgs.nixpkgs-review ];
};
security.sudo.extraConfig = ''
${mainUser.name} ALL=(review) NOPASSWD: ALL
'';
}