Revert "modules: improve settings to configure nopasswd commands"
This reverts commit a501f2ea16
.
This commit is contained in:
parent
29c1290f08
commit
34ba9c0f55
5 changed files with 10 additions and 7 deletions
|
@ -36,4 +36,14 @@
|
|||
local.programs.pass.enable = lib.mkDefault true;
|
||||
|
||||
local.programs.browsers.librewolf.enable = lib.mkDefault true;
|
||||
|
||||
security.sudo.extraRules = [{
|
||||
commands = [
|
||||
{
|
||||
command = "/run/current-system/sw/bin/nixos-container";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
groups = [ "wheel" ];
|
||||
}];
|
||||
}
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
./fonts.nix
|
||||
./keyboard.nix
|
||||
./nix.nix
|
||||
./security.nix
|
||||
./sound.nix
|
||||
./system.nix
|
||||
./yubikey.nix
|
||||
|
|
|
@ -39,8 +39,6 @@ in
|
|||
config = lib.mkIf isEnable {
|
||||
environment.systemPackages = hostPackages;
|
||||
|
||||
local.security.sudo.nopasswd = [{ commands = hostPackages; }];
|
||||
|
||||
local.sound.systemWide = true;
|
||||
|
||||
containers.browsers = {
|
||||
|
|
|
@ -27,8 +27,6 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ hostSkype ];
|
||||
|
||||
local.security.sudo.nopasswd = [{ commands = [ hostSkype ]; }];
|
||||
|
||||
local.sound.systemWide = true;
|
||||
|
||||
containers.skype = {
|
||||
|
|
|
@ -27,8 +27,6 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = [ hostTelegram ];
|
||||
|
||||
local.security.sudo.nopasswd = [{ commands = [ hostTelegram ]; }];
|
||||
|
||||
local.sound.systemWide = true;
|
||||
|
||||
containers.telegram = {
|
||||
|
|
Loading…
Reference in a new issue