diff options
| -rw-r--r-- | custom/uucp.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix index e4776ae0..afa40555 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix | |||
| @@ -127,6 +127,12 @@ in { | |||
| 127 | 127 | ||
| 128 | security.setuidOwners = map (p: {program = p; owner = "root"; group = "root"; setuid = true; setgid = false;}) ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]; | 128 | security.setuidOwners = map (p: {program = p; owner = "root"; group = "root"; setuid = true; setgid = false;}) ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]; |
| 129 | 129 | ||
| 130 | nixpkgs.config.packageOverrides = pkgs: { | ||
| 131 | uucp = stdenv.lib.overrideDerivation uucp (oldAttrs: { | ||
| 132 | configureFlags = "--with-newconfigdir=/etc/uucp"; | ||
| 133 | }); | ||
| 134 | }; | ||
| 135 | |||
| 130 | environment.systemPackages = with pkgs; [uucp]; | 136 | environment.systemPackages = with pkgs; [uucp]; |
| 131 | }; | 137 | }; |
| 132 | } | 138 | } |
