diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-02-20 01:48:17 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-02-20 01:48:17 +0100 |
| commit | 24fd13099b8eb92d8ee73b29843f882fe95f5254 (patch) | |
| tree | 33132d2c511175e20d303874b229c9d606c178c5 /custom | |
| parent | 47a2a43ad79edea3465f97e6bf307871e1fc5e23 (diff) | |
| download | nixos-24fd13099b8eb92d8ee73b29843f882fe95f5254.tar nixos-24fd13099b8eb92d8ee73b29843f882fe95f5254.tar.gz nixos-24fd13099b8eb92d8ee73b29843f882fe95f5254.tar.bz2 nixos-24fd13099b8eb92d8ee73b29843f882fe95f5254.tar.xz nixos-24fd13099b8eb92d8ee73b29843f882fe95f5254.zip | |
Syntax
Diffstat (limited to 'custom')
| -rw-r--r-- | custom/uucp.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix index 0e38f4d2..c69d15c5 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix | |||
| @@ -209,7 +209,15 @@ in { | |||
| 209 | }; | 209 | }; |
| 210 | 210 | ||
| 211 | security.wrappers = let | 211 | security.wrappers = let |
| 212 | wrapper = p: { name = p; source = "${pkgs.uucp}/bin/${p}"; owner = "root"; group = "root"; setuid = true; setgid = false; }; | 212 | wrapper = p: { name = p; |
| 213 | value = { | ||
| 214 | source = "${pkgs.uucp}/bin/${p}"; | ||
| 215 | owner = "root"; | ||
| 216 | group = "root"; | ||
| 217 | setuid = true; | ||
| 218 | setgid = false; | ||
| 219 | }; | ||
| 220 | }; | ||
| 213 | in listToAttrs (map wrapper ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]); | 221 | in listToAttrs (map wrapper ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]); |
| 214 | 222 | ||
| 215 | nixpkgs.config.packageOverrides = pkgs: with pkgs; { | 223 | nixpkgs.config.packageOverrides = pkgs: with pkgs; { |
