aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/hm-modules/wpaperd.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/share/hm-modules/wpaperd.nix b/share/hm-modules/wpaperd.nix
index c38da21..68a98a9 100644
--- a/share/hm-modules/wpaperd.nix
+++ b/share/hm-modules/wpaperd.nix
@@ -1,4 +1,8 @@
-{ config, lib, pkgs, ... }:
+{ config
+, lib
+, pkgs
+, ...
+}:
with lib;
let
cfg = config.services.wpaperd;
@@ -45,9 +49,7 @@ in
};
config = mkIf cfg.enable {
- assertions = [
- (hm.assertions.assertPlatform "services.wpaperd" pkgs platforms.linux)
- ];
+ assertions = [ (hm.assertions.assertPlatform "services.wpaperd" pkgs platforms.linux) ];
home.packages = [ cfg.package ];
@@ -65,7 +67,7 @@ in
Service = {
Type = "simple";
- ExecStart = "${cfg.package}/bin/wpaperd --no-daemon";
+ ExecStart = "${cfg.package}/bin/wpaperd";
};
Install.WantedBy = [ cfg.systemdTarget ];