summaryrefslogtreecommitdiffstats
path: root/common/commandline/htop.nix
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2024-07-24 17:41:46 +0200
committerMinijackson <minijackson@riseup.net>2024-07-24 17:41:46 +0200
commitb875b3486f33da1337f20815c07b7a9cf11c27bb (patch)
treead28c5e28d6d1366b17dfa800fd471af5a1ae0fc /common/commandline/htop.nix
parentb4669acb00c8574b942bf132ccc56edc912c56bb (diff)
downloadnixos-config-reborn-b875b3486f33da1337f20815c07b7a9cf11c27bb.tar.gz
nixos-config-reborn-b875b3486f33da1337f20815c07b7a9cf11c27bb.zip
common/htop: force installation of htoprc file
htop may overwrite this file, so forcing is needed to prevent activation failure
Diffstat (limited to 'common/commandline/htop.nix')
-rw-r--r--common/commandline/htop.nix8
1 files changed, 6 insertions, 2 deletions
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:
3{ config, ... }: 3{ config, ... }:
4 4
5{ 5{
6 home-manager.users.minijackson = { config, ... }: 6 home-manager.sharedModules = [ { xdg.configFile."htop/htoprc".force = true; } ];
7
8 home-manager.users.minijackson =
9 { config, ... }:
7 { 10 {
8 programs.htop = { 11 programs.htop = {
9 enable = true; 12 enable = true;
@@ -93,7 +96,8 @@ inputs:
93 }; 96 };
94 }; 97 };
95 98
96 home-manager.users.root = { ... }: 99 home-manager.users.root =
100 { ... }:
97 { 101 {
98 programs.htop = { 102 programs.htop = {
99 enable = true; 103 enable = true;