summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-04-27 12:41:07 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-04-27 12:41:07 +0200
commitdb90ab3f401e4bfb9c50e63f8e6c7b7767fcdad6 (patch)
treece40896355e8be24c3fba888bcddf91a296f32d8 /custom
parent9a6c0e5ae320cb65c47380063c4abca2bbdc4f23 (diff)
downloadnixos-db90ab3f401e4bfb9c50e63f8e6c7b7767fcdad6.tar
nixos-db90ab3f401e4bfb9c50e63f8e6c7b7767fcdad6.tar.gz
nixos-db90ab3f401e4bfb9c50e63f8e6c7b7767fcdad6.tar.bz2
nixos-db90ab3f401e4bfb9c50e63f8e6c7b7767fcdad6.tar.xz
nixos-db90ab3f401e4bfb9c50e63f8e6c7b7767fcdad6.zip
get uucp to read configs
Diffstat (limited to 'custom')
-rw-r--r--custom/uucp.nix6
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}