sudo: inutile :)
This commit is contained in:
@@ -14,7 +14,6 @@ in
|
|||||||
./localisation.nix
|
./localisation.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
#./network-ipv6.nix
|
#./network-ipv6.nix
|
||||||
./sudo.nix
|
|
||||||
./service-haveged.nix
|
./service-haveged.nix
|
||||||
./service-monitoring-munin.nix
|
./service-monitoring-munin.nix
|
||||||
./service-monitoring-smokeping.nix
|
./service-monitoring-smokeping.nix
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
inherit (lib) mkIf mkMerge mkThenElse;
|
|
||||||
cfg = config.r6d.config-generator;
|
|
||||||
computers = config.r6d.computers;
|
|
||||||
profiles = config.r6d.profiles;
|
|
||||||
in
|
|
||||||
|
|
||||||
mkIf true {
|
|
||||||
|
|
||||||
# Authorisation de certaines applications par sudo sans mot de passe
|
|
||||||
|
|
||||||
security.sudo.extraConfig = ''
|
|
||||||
%users ALL = NOPASSWD: ${pkgs.mtr}/bin/mtr
|
|
||||||
%users ALL = NOPASSWD: ${pkgs.slock}/bin/slock
|
|
||||||
'';
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user