From 061a7d8290f2fce434d09dee63bc3fc07066fa69 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Sat, 3 Aug 2024 02:46:35 -0700 Subject: [PATCH] cleanup: Install.WantedBy --- home/modules/playerctl.nix | 4 +--- home/modules/redshift.nix | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/home/modules/playerctl.nix b/home/modules/playerctl.nix index 7f57919..5d343bb 100644 --- a/home/modules/playerctl.nix +++ b/home/modules/playerctl.nix @@ -36,9 +36,7 @@ in Type = "exec"; ExecStart = "${pkgs.sxhkd}/bin/sxhkd"; }; - Install = { - WantedBy = [ "graphical-session.target" ]; - }; + Install.WantedBy = [ "graphical-session.target" ]; }; xdg.configFile."sxhkd/sxhkdrc".text = keybindingsStr; diff --git a/home/modules/redshift.nix b/home/modules/redshift.nix index 1cb37f5..b076f4b 100644 --- a/home/modules/redshift.nix +++ b/home/modules/redshift.nix @@ -32,9 +32,7 @@ in in ''${pkgs.bash}/bin/bash -c "${pkgs.redshift}/bin/redshift -l ${fetchLatLon}"''; }; - Install = { - WantedBy = [ "graphical-session.target" ]; - }; + Install.WantedBy = [ "graphical-session.target" ]; }; sops.secrets = lib.mkIf sops {