From 547ce830d2ac429f7a87c5303964643a4389e6ec Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Jun 2018 20:35:24 +0200 Subject: ... --- custom/uucp-mediaclient.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'custom') 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 { members = [ "uucp" ]; }; - system.activationScripts = '' - mkdir -m 0755 -pv ${cfg.mediaDir} - chown :${cfg.mediaGroup} ${cfg.mediaDir} - chmod -c "g+rwx" ${cfg.mediaDir} - ''; + system.activationScripts = { + media-directory = '' + mkdir -m 0755 -pv ${cfg.mediaDir} + chown :${cfg.mediaGroup} ${cfg.mediaDir} + chmod -c "g+rwx" ${cfg.mediaDir} + ''; + }; }; } -- cgit v1.2.3