nixos/common: fix options reference (#6477)

This was resolving to `lib.options.nix.enable.visible or true`,
which is always `true`, and therefore using `nix.enable` where it
shouldn’t be used. Oops…

(cherry picked from commit 25870c6600)
This commit is contained in:
Emily
2025-02-17 02:04:09 +00:00
committed by GitHub
parent 254d47082e
commit 9d3d080aec

View File

@@ -1,7 +1,7 @@
# This module is the common base for the NixOS and nix-darwin modules.
# For OS-specific configuration, please edit nixos/default.nix or nix-darwin/default.nix instead.
{ config, lib, pkgs, ... }:
{ options, config, lib, pkgs, ... }:
with lib;