Commit graph

8 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
7986fa849b
Update how podman is installed
This is paired with Podman Desktop
2025-09-05 09:05:11 -04:00
eac4008326
Add Zellij everywhere, but don't automatically use 2025-08-19 08:47:54 -04:00
4696a87825 Upgrading to 25.05 2025-06-11 22:14:36 -04:00
d7d6c240b8 Revert "Disable oh-my-zsh"
This reverts commit aa619622a9 as it turns out I do use a bunch of the shell aliases from it.
2025-01-10 15:25:31 -05:00
aa619622a9 Disable oh-my-zsh
I don't think I really need it any more as a result of what I get from nix + oh-my-posh
2025-01-10 15:16:20 -05:00
e1f04a6877 Enhance nixdiff alias on Mac to represent reality
On macOS, nix-darwin and nix-homebrew are used. As a result, more than
just `nvd` is needed.
2024-12-17 10:55:41 -05:00
f95cc09e13 Restructure Darwin configuration
So far, this is just based on mightymac. The other devices will be
updated soon.
2024-12-07 23:18:12 -05:00
Renamed from modules/home-manager/common/all-darwin.nix (Browse further)