Commit graph

9 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
a4a41b4d48 Setup Nextcloud for our pack 2025-05-21 00:34:42 -04:00
eead479245 Pass inputs around instead of each individual input 2024-12-04 21:39:03 -05:00
04f202688a Add post-install bits 2024-06-15 16:42:44 -04:00
505ab7059d Move hetznix01 to amd64 2024-06-15 13:45:44 -04:00
8753230721 enable fail2ban, fix network config 2024-02-05 22:54:02 -05:00
d77634f7f7 Add bootloader and not-detected.nix import 2024-02-05 17:03:13 -05:00
d9f826453b Add IP addresses for hetznix01 2024-02-05 16:51:45 -05:00
a62a3d136a Add hetznix01 2024-02-05 16:21:16 -05:00