Compare commits
3 Commits
2016-08-26
...
2016-09-01
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65e1c6ff0e | ||
| b42c8e3080 | |||
| adaa4eeb61 |
1
Makefile
1
Makefile
@@ -15,6 +15,7 @@ clean-log:
|
||||
journalctl --vacuum-size=1G
|
||||
|
||||
full-auto: submodules-update upgrade clean optimise
|
||||
@date
|
||||
|
||||
optimise:
|
||||
nix-store --optimise
|
||||
|
||||
@@ -18,4 +18,5 @@ mkIf profiles.isDesktop {
|
||||
slock # vérouiller l''écran. "cannot disable the out-of-memory killer for this process (make sure to suid or sgid slock)" --> en root
|
||||
yubikey-personalization-gui # utilisation de la clef Yubikey
|
||||
];
|
||||
security.setuidPrograms = [ "slock" ];
|
||||
}
|
||||
|
||||
@@ -13,5 +13,6 @@ mkIf true {
|
||||
|
||||
security.sudo.extraConfig = ''
|
||||
%users ALL = NOPASSWD: ${pkgs.mtr}/bin/mtr
|
||||
%users ALL = NOPASSWD: ${pkgs.slock}/bin/slock
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user