summaryrefslogtreecommitdiffstats
path: root/modules/by-name/ni/nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-11-02 15:10:37 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-11-05 22:47:43 +0100
commit8f2bf6b16b702790023ea987c06f1f91df3b5dc7 (patch)
tree762a73411dacba885ae54f69ff8e956af1672151 /modules/by-name/ni/nix
parenttreewide: Use `extra_modules` to import dependency modules (diff)
downloadnixos-config-8f2bf6b16b702790023ea987c06f1f91df3b5dc7.zip
modules/*: Always use `extra_lib`, also for `options.mkEnable`
Diffstat (limited to 'modules/by-name/ni/nix')
-rw-r--r--modules/by-name/ni/nix/module.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/by-name/ni/nix/module.nix b/modules/by-name/ni/nix/module.nix
index e46d6e85..11b2d7e4 100644
--- a/modules/by-name/ni/nix/module.nix
+++ b/modules/by-name/ni/nix/module.nix
@@ -9,7 +9,7 @@
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
{
pkgs,
- libraries,
+ extra_lib,
config,
lib,
# flakes
@@ -56,7 +56,7 @@
cfg = config.soispha.nix;
in {
options.soispha.nix = {
- enable = libraries.base.options.mkEnable "nix";
+ enable = extra_lib.options.mkDefaultEnabled "nix";
};
config = lib.mkIf cfg.enable {