From b875b3486f33da1337f20815c07b7a9cf11c27bb Mon Sep 17 00:00:00 2001 From: Minijackson Date: Wed, 24 Jul 2024 17:41:46 +0200 Subject: common/htop: force installation of htoprc file htop may overwrite this file, so forcing is needed to prevent activation failure --- common/commandline/htop.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/commandline/htop.nix b/common/commandline/htop.nix index 13fb9e8..91299a3 100644 --- a/common/commandline/htop.nix +++ b/common/commandline/htop.nix @@ -3,7 +3,10 @@ inputs: { config, ... }: { - home-manager.users.minijackson = { config, ... }: + home-manager.sharedModules = [ { xdg.configFile."htop/htoprc".force = true; } ]; + + home-manager.users.minijackson = + { config, ... }: { programs.htop = { enable = true; @@ -93,7 +96,8 @@ inputs: }; }; - home-manager.users.root = { ... }: + home-manager.users.root = + { ... }: { programs.htop = { enable = true; -- cgit v1.2.3