feat: update git pre-commit checks

This commit is contained in:
Ryan Yin
2023-12-18 10:43:35 +08:00
parent 74cec7dd8e
commit 8d83ded0fb
11 changed files with 268 additions and 275 deletions

View File

@@ -16,15 +16,14 @@
nixpkgs.config.allowUnfree = true;
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
# services.nix-daemon.enable = false;
#
# Use this instead of services.nix-daemon.enable if you
# don't wan't the daemon service to be managed for you.
# nix.useDaemon = true;
nix.useDaemon = true;
nix.package = pkgs.nix;
programs.nix-index.enable = true;
# Disable auto-optimise-store because of this issue:
# https://github.com/NixOS/nix/issues/7273
# "error: cannot link '/nix/store/.tmp-link-xxxxx-xxxxx' to '/nix/store/.links/xxxx': File exists"