Skip to content

Commit 11d8884

Browse files
committed
cleanup, removing redundancies, removing sparrow and dwarfs overlays
1 parent d403aa5 commit 11d8884

18 files changed

Lines changed: 35 additions & 379 deletions

home/desktop.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,11 @@ in {
172172
ignored-directories = ["&DESKTOP" "&DOCUMENTS" "&DOWNLOAD" "&MUSIC" "&PICTURES" "&PUBLIC_SHARE" "&TEMPLATES" "&VIDEOS"];
173173
};
174174
};
175+
176+
# Disable unused gvfs monitors (GNOME Online Accounts not used)
177+
xdg.configFile."autostart/gvfs-goa-volume-monitor.desktop".text = ''
178+
[Desktop Entry]
179+
Type=Application
180+
Hidden=true
181+
'';
175182
}

home/distrobox.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@
6060
init=false
6161
nvidia=true
6262
shell=/bin/bash
63-
# Export apps to host automatically
64-
# export="google-chrome"
6563
# === Ubuntu Gaming Container (The "Golden Recipe" for NixOS + NVIDIA) ===
6664
# This container uses ~/.config/distrobox/nvidia-setup.sh to automatically
6765
# link host NVIDIA drivers and configure 32-bit support for Steam.

home/gaming.nix

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,15 @@ in {
1919
bubblewrap # Provides 'bwrap'
2020

2121
# Gaming Tools
22-
heroic # Disabled temporarily due to electron_39 build failure on nixos-unstable
22+
heroic
2323
lutris
24-
protonplus
2524
protonup-rs
2625
samrewritten
2726
cartridges
2827
openrgb
2928
goverlay
3029
vkbasalt
31-
input-remapper
3230
umu-launcher
33-
steamtinkerlaunch
3431
gamescope
3532
(bottles.override {removeWarningPopup = true;})
3633

@@ -68,14 +65,6 @@ in {
6865
programs.mangohud = {
6966
enable = true;
7067
settings = {
71-
# Visual Style (Handled by Stylix, but overrides possible)
72-
# text_color = "cdd6f4";
73-
# gpu_color = "a6e3a1"; # Green
74-
# cpu_color = "89b4fa"; # Blue
75-
# vram_color = "f38ba8"; # Red
76-
# ram_color = "fab387"; # Orange
77-
# engine_color = "89b4fa"; # Blue
78-
# frametime_color = "94e2d5"; # Teal
7968
background_alpha = lib.mkForce 0.4;
8069
font_size = lib.mkForce 24;
8170

@@ -89,7 +78,7 @@ in {
8978
ram = true;
9079
fps = true;
9180
frametime = true; # Stutter checking
92-
gamemode = false;
81+
gamemode = true;
9382

9483
# Layout
9584
table_columns = 3;

home/helix.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
pyright
2222
ruff
2323

24-
# Nix
25-
nil
24+
# Nix (nil LSP provided by dev.nix)
2625
alejandra
2726

2827
# YAML / Ansible

home/qt.nix

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,5 @@
55
style.name = lib.mkForce "kvantum";
66
};
77

8-
# Ensure GTK apps (Libadwaita, etc.) use dark theme
9-
dconf.settings = {
10-
"org/gnome/desktop/interface" = {
11-
color-scheme = "prefer-dark";
12-
};
13-
};
8+
# dconf color-scheme handled in theme.nix
149
}

home/rclone-gdrive.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ in {
1313
};
1414

1515
Service = {
16-
Type = "simple";
16+
Type = "exec";
1717
# Create the directory right before mounting
1818
ExecStartPre = "/run/current-system/sw/bin/mkdir -p ${mountPoint}";
1919
# Optimized for desktop usage:

home/shell/functions.nix

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,6 @@ in {
9494
fi
9595
}
9696
97-
# --- Yazi Wrapper ---
98-
y() {
99-
local tmp
100-
tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
101-
yazi "$@" --cwd-file="$tmp"
102-
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
103-
builtin cd -- "$cwd"
104-
fi
105-
rm -f -- "$tmp"
106-
}
107-
10897
# --- Recursive Cat (text files only, skips binary via fd) ---
10998
catr() {
11099
local target="''${1:-.}"

home/vscode.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
package = pkgs.vscode.override {
55
commandLineArgs = [
66
"--password-store=gnome-libsecret"
7-
"--ozone-platform=x11"
87
];
98
};
109
};

hosts/ninja/network.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@
8383
wpa_supplicant.enable = false;
8484
ModemManager.enable = false;
8585
};
86+
87+
# Only wait for eno1 (static IP) — don't block boot on all interfaces
88+
network.wait-online = {
89+
anyInterface = true;
90+
timeout = 5;
91+
};
8692
};
8793
programs.nm-applet.enable = false;
8894

hosts/ninja/performance.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
Nice = 19;
2222
CPUWeight = 1;
2323
IOWeight = 1;
24-
MemoryMax = "24G";
25-
MemoryHigh = "22G";
24+
MemoryMax = "40G";
25+
MemoryHigh = "36G";
2626
AllowedCPUs = "8-15,24-31";
2727
CPUSchedulingPolicy = "idle";
2828
IOSchedulingClass = "idle";
@@ -85,7 +85,7 @@
8585
};
8686

8787
nix.settings = {
88-
max-jobs = 4;
88+
max-jobs = 6;
8989
cores = 8;
9090
};
9191
}

0 commit comments

Comments
 (0)