summaryrefslogtreecommitdiff
path: root/custom/motion.nix
diff options
context:
space:
mode:
Diffstat (limited to 'custom/motion.nix')
-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 = {