Skip to content

Commit 7f19f44

Browse files
committed
Clean up boot config: strip Plymouth, verbose boot, and debug noise
Remove Plymouth specialisation, verbose initrd logging, and commented-out nvidia initrd modules. Plain systemd-boot with systemd-initrd handles the LUKS prompt cleanly. Also updates flake inputs, enables agent teams env var, adds background subagent instruction, and disables VSCode minimap.
1 parent 53963e5 commit 7f19f44

6 files changed

Lines changed: 16 additions & 22 deletions

File tree

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

home/ai-agents/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ in {
1515

1616
# Claude Code: ~/.claude/settings.json
1717
".claude/settings.json".text = builtins.toJSON {
18+
env = {
19+
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS = "1";
20+
};
1821
model = "opus[1m]";
1922
enabledPlugins = {
2023
"frontend-design@claude-plugins-official" = true;

home/ai-agents/global.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
- Keep response structures consistent across requests (prompt caching).
5353
- One task per chat. Don't mix feature work, debugging, and questions.
5454
- Use subagents for exploration — they run in separate context, report summaries.
55+
- When Chief asks to spawn agents, launch them **in the background** so chat stays active. Never block waiting on a subagent. Report results when they finish.
5556
- Be specific in prompts: file paths, line numbers, error messages. Vague = expensive.
5657
- Favor small, modular files over giant monoblocks.
5758

home/vscode.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
"--password-store=gnome-libsecret"
77
];
88
};
9+
profiles.default.userSettings = {
10+
"editor.minimap.enabled" = false;
11+
};
912
};
1013
}

hosts/ninja/boot.nix

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{pkgs, ...}: {
22
boot = {
3-
# Bootloader and startup UX
43
loader = {
54
systemd-boot = {
65
enable = true;
@@ -12,11 +11,8 @@
1211
grub.enable = false;
1312
};
1413

15-
# Plymouth disabled — causes DRM warnings during simpledrm→nvidia-drm
16-
# handoff (connector Unknown-1 leaked, drm_gem_shmem_release warnings).
17-
# Boot is fast enough without it (~10s to greeter).
18-
19-
consoleLogLevel = 0;
14+
# No Plymouth, no quiet — plain systemd-initrd handles the LUKS prompt.
15+
consoleLogLevel = 3;
2016
initrd = {
2117
verbose = false;
2218
systemd = {
@@ -27,7 +23,6 @@
2723

2824
supportedFilesystems = ["exfat"];
2925

30-
# Keep latest kernel for current hardware support
3126
kernelPackages = pkgs.linuxPackages_latest;
3227
blacklistedKernelModules = [
3328
"sp5100_tco"
@@ -37,11 +32,6 @@
3732
];
3833

3934
kernelParams = [
40-
"quiet"
41-
"loglevel=3"
42-
"rd.systemd.show_status=false"
43-
"rd.udev.log_level=3"
44-
"udev.log_priority=3"
4535
"boot.shell_on_fail"
4636
"pci=realloc,pcie_bus_safe"
4737
"pcie_aspm=off"

hosts/ninja/nvidia.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@
4141
};
4242

4343
# 3. Kernel Modules & Wayland Environment
44-
# Load nvidia in initrd so DRM device (card1) is available from early boot.
45-
# Without this, simpledrm loads first (card0) then nvidia replaces it later,
46-
# creating a race where greetd/cosmic-comp may start before nvidia-drm is ready.
47-
boot.initrd.kernelModules = ["nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm"];
44+
# nvidia modules load post-initrd — keeps LUKS prompt input clean.
4845
boot.kernelParams = [
4946
"nvidia.NVreg_PreserveVideoMemoryAllocations=1" # Explicitly added since powerManagement is disabled
5047
"nvidia.NVreg_UseKernelSuspendNotifiers=1" # Required for improved memory preservation on Open Modules

0 commit comments

Comments
 (0)