aboutsummaryrefslogtreecommitdiffstats
path: root/modules/system/btop/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-20 04:15:53 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-20 04:15:53 +0530
commitdaea646972aa03ce8e58bff2edaed16bf7fbf9db (patch)
tree0f0ee033422e456b14b3e012ca8b1a490b77de15 /modules/system/btop/default.nix
parentfb442560064f98ee850c71d78330b9b3abda4774 (diff)
downloadhome-manager-config-daea646972aa03ce8e58bff2edaed16bf7fbf9db.tar.gz
home-manager-config-daea646972aa03ce8e58bff2edaed16bf7fbf9db.zip
chore: added better assertions for options for submodules
Now setting options for submodules requires the submodule to be enabled first.
Diffstat (limited to 'modules/system/btop/default.nix')
-rw-r--r--modules/system/btop/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/system/btop/default.nix b/modules/system/btop/default.nix
index 40f878f..4f84036 100644
--- a/modules/system/btop/default.nix
+++ b/modules/system/btop/default.nix
@@ -6,6 +6,8 @@
...
}:
{
+ imports = [ ./assertions.nix ];
+
options.system.btop = {
enable = lib.mkEnableOption "Enables btop.";
nvidia.enable = lib.mkEnableOption "Build btop with NVIDIA GPU monitoring support (CUDA).";