chore: Clean up repository code and structure

- Removed commented packages: cura, parsec-bin, bottles, stremio, gimp, calibre
- Removed commented code: Java enable, low-latency kernel, ROCm packages, bridges
- Removed trailing whitespace across multiple files
- Fixed typo: Depreciated -> Deprecated in networking
- Removed unused desktop/gnome.nix module (not referenced)
- Removed systems/common-headless.nix (duplicates common.nix)
- Removed nixpkgs.config.allowBroken setting
- Added result, *.swp, *~ to .gitignore
- Removed .clinerules file (deprecated, info in docs/agents.md)
- Updated docs/agents.md changelog with cleanup details
This commit is contained in:
Julian Sutter 2026-02-03 22:33:03 -08:00
parent 7143d71bf5
commit 587b74d5d6
13 changed files with 17 additions and 622 deletions

View file

@ -56,8 +56,7 @@ nixos/
│ ├── jsutter.nix # Primary user configuration
│ ├── isutter.nix # Secondary user configuration
│ └── aksutter.nix # Secondary user configuration
├── flake.nix # Top-level flake definition
└── .clinerules # Project-specific rules for AI agents
└── flake.nix # Top-level flake definition
```
## Core Principles
@ -114,7 +113,7 @@ Always include the appropriate parameters based on what the module needs:
device = "/dev/disk/by-partlabel/ESP";
fsType = "vfat";
};
# System-specific settings
# Group related configurations together
}
@ -138,7 +137,7 @@ Always include the appropriate parameters based on what the module needs:
home.username = "username";
home.homeDirectory = "/home/username";
home.stateVersion = "25.05";
# User configurations
};
}
@ -691,7 +690,12 @@ This section tracks changes to the repository structure and when this document w
| Date | Change | Updated Sections |
|------|--------|------------------|
| 2026-02 - Created | Created `agents.md` with comprehensive guide and deprecated `.clinerules` | All sections |
| 2026-02 - Created | Created `agents.md` with comprehensive guide | All sections |
| 2026-02 - Removed | Removed .clinerules file, consolidated into agents.md | Maintenance section |
| 2026-02 - Cleanup | Removed unused gnome.nix module, common-headless.nix; removed allowBroken setting | System structure |
| 2026-02 - Cleanup | Removed commented packages across multiple files; fixed trailing whitespace | Code quality |
| 2026-02 - Cleanup | Removed .clinerules file; deleted gnome.nix (unused); common-headless.nix (duplicated) | File structure |
| 2026-02 - Improvement | Added result, *.swp, *~ to .gitignore | Maintenance |
### When to Update This Document
@ -740,8 +744,7 @@ When unsure about something:
1. Check this documentation first
2. Review existing similar configurations
3. Search NixOS manual and wiki
4. Consult the `.clinerules` file for additional guidelines
5. Test changes with dry-run before applying
4. Test changes with dry-run before applying
---