diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 20:35:24 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-06-02 20:35:24 +0200 |
commit | 547ce830d2ac429f7a87c5303964643a4389e6ec (patch) | |
tree | 4117a184020188d282e24f311bf0f482af26ac93 /custom | |
parent | 347da4ffbb4b870b330a22d7f5e0eda432a512f0 (diff) | |
download | nixos-547ce830d2ac429f7a87c5303964643a4389e6ec.tar nixos-547ce830d2ac429f7a87c5303964643a4389e6ec.tar.gz nixos-547ce830d2ac429f7a87c5303964643a4389e6ec.tar.bz2 nixos-547ce830d2ac429f7a87c5303964643a4389e6ec.tar.xz nixos-547ce830d2ac429f7a87c5303964643a4389e6ec.zip |
...
Diffstat (limited to 'custom')
-rw-r--r-- | custom/uucp-mediaclient.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/custom/uucp-mediaclient.nix b/custom/uucp-mediaclient.nix index 1b79d4a5..f01e2a54 100644 --- a/custom/uucp-mediaclient.nix +++ b/custom/uucp-mediaclient.nix | |||
@@ -96,11 +96,13 @@ in { | |||
96 | members = [ "uucp" ]; | 96 | members = [ "uucp" ]; |
97 | }; | 97 | }; |
98 | 98 | ||
99 | system.activationScripts = '' | 99 | system.activationScripts = { |
100 | mkdir -m 0755 -pv ${cfg.mediaDir} | 100 | media-directory = '' |
101 | chown :${cfg.mediaGroup} ${cfg.mediaDir} | 101 | mkdir -m 0755 -pv ${cfg.mediaDir} |
102 | chmod -c "g+rwx" ${cfg.mediaDir} | 102 | chown :${cfg.mediaGroup} ${cfg.mediaDir} |
103 | ''; | 103 | chmod -c "g+rwx" ${cfg.mediaDir} |
104 | ''; | ||
105 | }; | ||
104 | }; | 106 | }; |
105 | } | 107 | } |
106 | 108 | ||