treewide: clean up with and stuff (#975)

Fixes #973
This commit is contained in:
awwpotato 2025-03-18 05:10:02 -07:00 committed by GitHub
parent fa288c0dc6
commit ff9ae322bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 802 additions and 874 deletions

View file

@ -1,29 +1,26 @@
{ config, lib, ... }:
with config.lib.stylix.colors;
{
options.stylix.targets.console.enable =
config.lib.stylix.mkEnableTarget "the Linux kernel console" true;
config.console.colors =
lib.mkIf (config.stylix.enable && config.stylix.targets.console.enable)
[
base00-hex
red
green
yellow
blue
magenta
cyan
base05-hex
base03-hex
red
green
yellow
blue
magenta
cyan
base06-hex
];
with config.lib.stylix.colors;
lib.mkIf (config.stylix.enable && config.stylix.targets.console.enable) [
base00-hex
red
green
yellow
blue
magenta
cyan
base05-hex
base03-hex
red
green
yellow
blue
magenta
cyan
base06-hex
];
}