summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-13 13:24:47 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-13 13:24:47 +0200
commit7cdcb23a5e8bb69c6814b78c4bb02a81d3f7bef5 (patch)
treeb047dd54092b7d2568c4ad080c8a460733e9567c /custom
parent930f2ea21bdff73a627c1c4b518b172d318ee57a (diff)
downloadnixos-7cdcb23a5e8bb69c6814b78c4bb02a81d3f7bef5.tar
nixos-7cdcb23a5e8bb69c6814b78c4bb02a81d3f7bef5.tar.gz
nixos-7cdcb23a5e8bb69c6814b78c4bb02a81d3f7bef5.tar.bz2
nixos-7cdcb23a5e8bb69c6814b78c4bb02a81d3f7bef5.tar.xz
nixos-7cdcb23a5e8bb69c6814b78c4bb02a81d3f7bef5.zip
Diffstat (limited to 'custom')
-rw-r--r--custom/motion.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/motion.nix b/custom/motion.nix
index 21693a34..3e03dc33 100644
--- a/custom/motion.nix
+++ b/custom/motion.nix
@@ -73,7 +73,7 @@ in {
73 description = "Name of the dedicated user"; 73 description = "Name of the dedicated user";
74 }; 74 };
75 75
76 config = { 76 overrides = {
77 type = types.attrs; 77 type = types.attrs;
78 default = {}; 78 default = {};
79 }; 79 };
@@ -87,7 +87,7 @@ in {
87 isSystemUser = true; 87 isSystemUser = true;
88 isNormalUser = false; 88 isNormalUser = false;
89 description = "User for motion daemon"; 89 description = "User for motion daemon";
90 } // cfg.user.config; 90 } // cfg.user.overrides;
91 91
92 systemd.services."motion" = { 92 systemd.services."motion" = {
93 serviceConfig = { 93 serviceConfig = {