refactor(nixos): inline module enable conditions

This commit was merged in pull request #134.
This commit is contained in:
alexion committed 2026-10-06 22:26:47 -04:00
1 parent d53246caf0
commit f48bac5ec1
33 files changed
+33 -78

No files matched your search

@@ -6,7 +6,6 @@
}:
# Nord theming for the graphical layer, driven from one base16 scheme by Stylix.
let
cfg = config.modules.desktop.utilities.theming; # NOLINT(let_order)
# A single static Nord wallpaper, drawn as a vertical gradient across the
# Polar Night shades so it needs no committed binary and no network fetch.
@@ -21,7 +20,7 @@ in
options.modules.desktop.utilities.theming.enable =
lib.mkEnableOption "Nord theming of the graphical layer via Stylix";
config = lib.mkIf cfg.enable {
config = lib.mkIf config.modules.desktop.utilities.theming.enable {
stylix = {
enable = true;