about summary refs log tree commit diff stats
path: root/modules/by-name/ni/nixos-option
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-11 13:34:23 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-11 13:34:23 +0100
commit51679b57536c092719c10359af58ea35e04bd42d (patch)
treec654bda9d93d660fb04618afa913a5d0f06471ac /modules/by-name/ni/nixos-option
parenttreewide: Update (diff)
downloadnixos-config-51679b57536c092719c10359af58ea35e04bd42d.zip
modules/nixos-option: Disable
Diffstat (limited to 'modules/by-name/ni/nixos-option')
-rw-r--r--modules/by-name/ni/nixos-option/module.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/by-name/ni/nixos-option/module.nix b/modules/by-name/ni/nixos-option/module.nix
new file mode 100644
index 00000000..0053d357
--- /dev/null
+++ b/modules/by-name/ni/nixos-option/module.nix
@@ -0,0 +1,18 @@
+{
+  config,
+  lib,
+  libraries,
+  ...
+}: let
+  cfg = config.soispha.programs.nixos-option;
+in {
+  options.soispha.programs.nixos-option = {
+    enable = libraries.base.options.mkEnable "nixos-option";
+  };
+
+  config = lib.mkIf cfg.enable {
+    # NOTE: We disable nixos-option here explicitly, because I never used it, and it
+    # depends on cppnix. <2025-12-11>
+    system.tools.nixos-option.enable = false;
+  };
+}