More derp

This commit is contained in:
Parnell Springmeyer
2017-01-29 05:33:56 -06:00
parent 70b8167d4a
commit 628e6a83d0
13 changed files with 38 additions and 42 deletions
+4 -1
View File
@@ -33,7 +33,10 @@ in
config = mkIf (cfg.enable || anyUsbAuth) {
# Make sure pmount and pumount are setuid wrapped.
security.setuidPrograms = [ "pmount" "pumount" ];
security.wrappers = {
pmount.source = "${pkgs.pmount.out}/bin/pmount";
pumount.source = "${pkgs.pmount.out}/bin/pumount";
};
environment.systemPackages = [ pkgs.pmount ];