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

Also, exclude .pre-commit-config.yaml from SOPS processing
This commit is contained in:
Gene Liverman 2026-03-14 01:04:27 -04:00
parent c1a53997ce
commit f830613ded
No known key found for this signature in database
21 changed files with 42 additions and 39 deletions

View file

@ -1,4 +1,3 @@
{ ... }:
{
_: {
home.stateVersion = "24.05";
}

View file

@ -1,4 +1,3 @@
{ ... }:
{
_: {
home.stateVersion = "24.05";
}

View file

@ -1,5 +1,4 @@
{ ... }:
{
_: {
home.stateVersion = "24.11";
programs = {

View file

@ -1,5 +1,4 @@
{ ... }:
{
_: {
home.stateVersion = "24.11";
programs = {

View file

@ -1,5 +1,4 @@
{ ... }:
{
_: {
disko.devices = {
disk = {
sdc = {

View file

@ -1,4 +1,3 @@
{ ... }:
{
_: {
home.stateVersion = "24.05";
}

View file

@ -1,4 +1,4 @@
{ ... }:
_:
let
volume_base = "/var/lib/audiobookshelf";
http_port = "13378";

View file

@ -1,4 +1,3 @@
{ ... }:
{
_: {
home.stateVersion = "23.11";
}

View file

@ -11,15 +11,14 @@
];
home.file = {
".config/hypr/frappe.conf".source = (
".config/hypr/frappe.conf".source =
pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "hyprland";
rev = "99a88fd21fac270bd999d4a26cf0f4a4222c58be";
hash = "sha256-07B5QmQmsUKYf38oWU3+2C6KO4JvinuTwmW1Pfk8CT8=";
}
+ "/themes/frappe.conf"
);
+ "/themes/frappe.conf";
};
programs = {