Reduce build size via config restriction

This commit is contained in:
soraefir
2026-06-21 22:51:54 +02:00
parent 798c222bd6
commit 473b290258
11 changed files with 35 additions and 31 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ let
logoColor1 = p.base07;
logoColor2 = p.base07;
# ─────────────────────────────────────────────────────────────────────────
in {
in lib.mkIf config.syscfg.make.gui {
home.packages = with pkgs; [ fastfetch ];
xdg.configFile."neofetch/config.conf".source = ./config.conf;
xdg.configFile."fastfetch/logo.txt".source = ./logo.txt;
+2 -2
View File
@@ -1,5 +1,5 @@
{ config, ... }: {
programs.kitty = {
{ config, lib, ... }: {
programs.kitty = lib.mkIf config.syscfg.make.gui {
enable = true;
settings = {
foreground = "#${config.colorScheme.palette.base07}";
+3 -3
View File
@@ -1,16 +1,16 @@
{ pkgs, ... }: {
{ config, lib, pkgs, ... }: {
home.packages = with pkgs; [
ripgrep
unzip
socat
appimage-run
cbonsai
pipes-rs
cmatrix
#cava
sl
] ++ lib.optionals (config.syscfg.make.gui || config.syscfg.make.develop) [
pkgs.appimage-run
];
}
+1 -3
View File
@@ -6,13 +6,11 @@ in{
config = lib.mkIf (config.syscfg.make.gui) {
programs.mpv = {
enable = true;
scripts = with pkgs.mpvScripts; [ mpris modernz ];
scripts = with pkgs.mpvScripts; [ mpris ];
config = {
hwdec ="auto";
profile ="high-quality";
ytdl-format = "bestvideo+bestaudio";
osc ="no";
};
bindings =