From a3f2e4b3d4cec849eeaa7f15e6a51e7a9a8cd6b0 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Sun, 25 Feb 2024 19:44:11 +0100 Subject: [PATCH] Enable `btop` for all the hosts using `ccr` --- hmModules/btop/default.nix | 6 ++++++ modules/ccr/default.nix | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 hmModules/btop/default.nix diff --git a/hmModules/btop/default.nix b/hmModules/btop/default.nix new file mode 100644 index 0000000..dda9306 --- /dev/null +++ b/hmModules/btop/default.nix @@ -0,0 +1,6 @@ +{ + programs.btop = { + enable = true; + settings.update_ms = 100; + }; +} diff --git a/modules/ccr/default.nix b/modules/ccr/default.nix index 57af300..6966981 100644 --- a/modules/ccr/default.nix +++ b/modules/ccr/default.nix @@ -71,7 +71,7 @@ in { config = lib.mkIf cfg.enable { # FIXME shouldn't set these groups by default ccr.extraGroups = ["wheel" "fuse" "video" "dialout" "systemd-journal" "camera"]; - ccr.modules = ["shell" "git" "nix-index"]; + ccr.modules = ["shell" "git" "nix-index" "btop"]; backup.paths = cfg.backupPaths;