diff --git a/checks.nix b/checks.nix index 66fca37..a214212 100644 --- a/checks.nix +++ b/checks.nix @@ -31,6 +31,9 @@ forEachSystem (system: { excludes = [ "settings.json$" ]; }; + # toml hooks + check-toml.enable = true; + # git hooks check-merge-conflicts.enable = true; ## prevents committing to main diff --git a/lib/systems.nix b/lib/systems.nix index a31970a..3a15482 100644 --- a/lib/systems.nix +++ b/lib/systems.nix @@ -97,7 +97,7 @@ rec { # type: # genNonX86 :: AttrSet -> [AttrSet] genNonX86 = - { _ }: + { ... }: [ { config.nixpkgs = { diff --git a/statix.toml b/statix.toml new file mode 100644 index 0000000..a8dc9b0 --- /dev/null +++ b/statix.toml @@ -0,0 +1,4 @@ +disabled = ["empty_pattern"] +nix_version = '2.4' +ignore = ['.direnv'] + diff --git a/systems/artemision/zerotier.nix b/systems/artemision/zerotier.nix index c185ab7..6bd43fd 100644 --- a/systems/artemision/zerotier.nix +++ b/systems/artemision/zerotier.nix @@ -1,4 +1,4 @@ -{ _ }: +{ ... }: { services.zerotierone = { enable = true; diff --git a/systems/jeeves-jr/default.nix b/systems/jeeves-jr/default.nix index ca97be7..01f0304 100644 --- a/systems/jeeves-jr/default.nix +++ b/systems/jeeves-jr/default.nix @@ -1,4 +1,4 @@ -{ _ }: +{ ... }: { users = [ "alice" diff --git a/systems/jeeves/default.nix b/systems/jeeves/default.nix index ca97be7..01f0304 100644 --- a/systems/jeeves/default.nix +++ b/systems/jeeves/default.nix @@ -1,4 +1,4 @@ -{ _ }: +{ ... }: { users = [ "alice" diff --git a/users/alice/home/gammastep.nix b/users/alice/home/gammastep.nix index 571aefb..92b8801 100644 --- a/users/alice/home/gammastep.nix +++ b/users/alice/home/gammastep.nix @@ -1,4 +1,4 @@ -{ _ }: +{ ... }: { services.gammastep = { enable = true;