From dacbcd5a443411053451568b6d66e76e9dee56b0 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 17 Jun 2024 15:44:30 -0500 Subject: [PATCH] refactor(nix/hm/price): move cliphist to separate conf --- users/price/conf/cliphist/default.nix | 12 ++++++++++++ users/price/home.nix | 9 --------- 2 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 users/price/conf/cliphist/default.nix diff --git a/users/price/conf/cliphist/default.nix b/users/price/conf/cliphist/default.nix new file mode 100644 index 00000000..6aefdaa2 --- /dev/null +++ b/users/price/conf/cliphist/default.nix @@ -0,0 +1,12 @@ +{ ... }: +{ + services.cliphist.enable = true; + system.user.services.cliphist = { + Service.RestartSec = 3; + Install.WantedBy = [ "compositor.target" ]; + Unit = { + PartOf = [ "compositor.target" ]; + After = [ "compositor.target" ]; + }; + }; +} diff --git a/users/price/home.nix b/users/price/home.nix index 9bfaeb71..16bb5da7 100644 --- a/users/price/home.nix +++ b/users/price/home.nix @@ -468,7 +468,6 @@ in } ]; }; - cliphist.enable = true; easyeffects.enable = true; }; @@ -564,14 +563,6 @@ in After = [ "compositor.target" ]; }; }; - cliphist = { - Service.RestartSec = 3; - Install.WantedBy = [ "compositor.target" ]; - Unit = { - PartOf = [ "compositor.target" ]; - After = [ "compositor.target" ]; - }; - }; polkit-gnome-authentication-agent-1 = { Unit = { Description = "Gnome Polkit authentication agent";