Add pre-commit hooks for nixfmt, deadnix, and statix

Also, exclude .pre-commit-config.yaml from the SOPS differ
This commit is contained in:
Gene Liverman 2026-03-14 01:04:27 -04:00
parent c1a53997ce
commit 0dea1aab28
No known key found for this signature in database
23 changed files with 50 additions and 41 deletions

View file

@ -1,4 +1,3 @@
{ ... }:
{
_: {
programs.hexchat.enable = true;
}

View file

@ -1,4 +1,3 @@
{ ... }:
{
_: {
programs.pidgin.enable = true;
}

View file

@ -39,14 +39,13 @@ with lib.hm.gvariant;
home.file = {
".config/tilix/schemes/Beanbag-Mathias.json".source = ../../../files/tilix/Beanbag-Mathias.json;
".config/tilix/schemes/Catppuccin-Frappe.json".source = (
".config/tilix/schemes/Catppuccin-Frappe.json".source =
pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "tilix";
rev = "3fd05e03419321f2f2a6aad6da733b28be1765ef";
hash = "sha256-SI7QxQ+WBHzeuXbTye+s8pi4tDVZOV4Aa33mRYO276k=";
}
+ "/src/Catppuccin-Frappe.json"
);
+ "/src/Catppuccin-Frappe.json";
};
}

View file

@ -2,15 +2,14 @@
{
home.file = {
".config/waybar/config".source = ../../../files/waybar/config;
".config/waybar/frappe.css".source = (
".config/waybar/frappe.css".source =
pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "waybar";
rev = "f74ab1eecf2dcaf22569b396eed53b2b2fbe8aff";
hash = "sha256-WLJMA2X20E5PCPg0ZPtSop0bfmu+pLImP9t8A8V4QK8=";
}
+ "/themes/frappe.css"
);
+ "/themes/frappe.css";
".config/waybar/style.css".source = ../../../files/waybar/style.css;
};

View file

@ -1,5 +1,4 @@
{ ... }:
{
_: {
home.file = {
".config/xfce4/terminal/accels.scm".source = ../../../files/xfce4/terminal/accels.scm;
};