diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-13 13:27:20 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-13 13:27:20 +0200 |
commit | 02e14c2816642c10e49d8368fa52b345241bd6e8 (patch) | |
tree | 4eb36ce8d09ec0e08db88e1e6e170e3e0a92ba22 /custom/motion.nix | |
parent | 2968de37d4eac2bac6699d059a86916559810d77 (diff) | |
download | nixos-02e14c2816642c10e49d8368fa52b345241bd6e8.tar nixos-02e14c2816642c10e49d8368fa52b345241bd6e8.tar.gz nixos-02e14c2816642c10e49d8368fa52b345241bd6e8.tar.bz2 nixos-02e14c2816642c10e49d8368fa52b345241bd6e8.tar.xz nixos-02e14c2816642c10e49d8368fa52b345241bd6e8.zip |
…
Diffstat (limited to 'custom/motion.nix')
-rw-r--r-- | custom/motion.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/motion.nix b/custom/motion.nix index 712c1a61..b470541a 100644 --- a/custom/motion.nix +++ b/custom/motion.nix | |||
@@ -38,6 +38,8 @@ let | |||
38 | ''; | 38 | ''; |
39 | 39 | ||
40 | preStart = pkgs.writeScript "motion-pre-start" '' | 40 | preStart = pkgs.writeScript "motion-pre-start" '' |
41 | #!${pkgs.stdenv.shell} | ||
42 | |||
41 | cat ${motionConfig} ${escapeShellArgs cfg.configFiles} > motion.conf | 43 | cat ${motionConfig} ${escapeShellArgs cfg.configFiles} > motion.conf |
42 | 44 | ||
43 | mkdir -p cameras | 45 | mkdir -p cameras |