Add pre-commit hooks

This commit is contained in:
Dave Gallant
2021-01-24 16:19:48 -05:00
parent 088d3bca8f
commit 822c40cb4a
8 changed files with 73 additions and 57 deletions

3
nixos-rebuild.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
cd "$(dirname "$0")" || exit
exec nixos-rebuild -I nixos-config="machines/$(hostname)/configuration.nix" "$@" --flake '.#'