Commit graph

13 commits

Author SHA1 Message Date
9b3c078319
Add linting, formatting, and CI with fixes for all warnings
Infrastructure:
- Add deadnix, nixfmt, and statix to flake inputs
- Add formatter output to flake for nix fmt support
- Add deadnix, nixfmt, statix to Home Manager packages
- Add GitHub Actions workflow for CI validation
- Add .pre-commit-config.yaml with hooks for nixfmt, deadnix, and statix
- Support x86_64-darwin in formatter

Statix fixes (W10/W20 warnings):
- Remove unused lambda argument from nixpkgs-settings.nix
- Merge repeated keys in hardware-configuration.nix files (boot.initrd, boot, fileSystems)
- Merge repeated keys in nixnuc/default.nix (services, virtualisation)
- Merge repeated keys in rainbow-planet/default.nix (desktopManager)
- Merge repeated keys in home/general/default.nix (home)

Deadnix fixes (unused declarations):
- Remove unused pkgs/lib/username/http_port arguments from various files
- Fix unused final parameter in overlay functions (final -> _final)

CI/pre-commit fixes:
- Fix pre-commit statix config: add pass_filenames: false
- Fix CI workflow: use nix run nixpkgs# prefix and --ci flag for nixfmt
2026-03-20 22:29:46 -04:00
5047d93b86
Restructure modules/shared and update all imports
- Rename modules/hosts/common to modules/shared
- Split shared into home/general, home/linux, and nixos subdirectories
- Update all import paths in lib/ and modules/hosts/
- Fix hardcoded /Users/ path to use config.home.homeDirectory
- Update .sops.yaml path for secrets
2026-03-14 00:10:30 -04:00
33bbf715b5
Add lsof 2026-02-07 15:30:09 -05:00
ff03892802
Add net-tools so netstat works 2025-12-24 14:00:22 -05:00
d451a0ec7b Remove tf 2025-12-01 10:41:45 -05:00
2ae82b376a
Add the cache from sops-nix 2025-09-05 10:12:20 -04:00
f8d6258cfd
Add rclone to all NixOS hosts 2025-09-05 08:52:20 -04:00
4696a87825 Upgrading to 25.05 2025-06-11 22:14:36 -04:00
91d8478c9b Setup MQTT 2025-06-11 21:53:31 -04:00
9f0baa6337 smartd adjustments
Not all my systems support smartd...
2025-06-08 19:45:13 -04:00
119533ee63
Revise usage of S.M.A.R.T. tools 2025-03-20 07:50:07 -04:00
c7f51a4021
Deal with error about 'download buffer is full'
Fix from
https://github.com/NixOS/nix/issues/11728#issuecomment-2725297584
2025-03-14 19:23:14 -04:00
d72f1264b2 NixOS restructuring, move common imports to lib 2024-12-08 00:47:47 -05:00
Renamed from modules/system/common/all-nixos.nix (Browse further)