Highly customized XMonad configuration.
Setup:
git clone github.com/SimSaladin/xmonad-configuration ~/.config/xmonad
./build
nix build
Uses pre-commit-hooks.nix.
Enter dev shell with nix shell
. What it does:
- installs
.git/hooks/pre-commit
and generate.pre-commit-config.yaml
- provides a
pre-commit
executable in the shell to run the checks
Alternatively, you can build the attribute:
nix build .#checks.x86_64-linux.pre-commit-check
# Run flake checks
nix flake check
# Check all files
pre-commit run -a