From 07b1fc36182dcc42d48d4063577283714e5f128a Mon Sep 17 00:00:00 2001 From: mjallen18 Date: Sun, 5 Apr 2026 14:49:16 -0500 Subject: [PATCH] empty_pattern --- lib/network/default.nix | 1 - modules/home/programs/git/default.nix | 1 - modules/home/programs/librewolf/default.nix | 1 - .../home/programs/password-store/default.nix | 1 - modules/home/programs/zsh/default.nix | 1 - modules/home/services/pass/default.nix | 3 --- overlays/radios/default.nix | 12 ------------ statix.toml | 4 +--- systems/aarch64-darwin/macbook-pro/default.nix | 18 +++--------------- .../aarch64-darwin/macbook-pro/settings.nix | 1 - systems/x86_64-linux/jallen-nas/nas-pool.nix | 1 - .../matt-nixos/services/lsfg-vk/default.nix | 1 - 12 files changed, 4 insertions(+), 41 deletions(-) delete mode 100644 overlays/radios/default.nix diff --git a/lib/network/default.nix b/lib/network/default.nix index 44a6ac8..175a502 100644 --- a/lib/network/default.nix +++ b/lib/network/default.nix @@ -18,7 +18,6 @@ # # All attributes intentionally use plain strings / ints so they can be # interpolated with `toString` or used directly in any context. -{ ... }: { network = { # ----------------------------------------------------------------------- diff --git a/modules/home/programs/git/default.nix b/modules/home/programs/git/default.nix index 817aee7..3357b22 100644 --- a/modules/home/programs/git/default.nix +++ b/modules/home/programs/git/default.nix @@ -1,4 +1,3 @@ -{ ... }: let gitAliases = { co = "checkout"; diff --git a/modules/home/programs/librewolf/default.nix b/modules/home/programs/librewolf/default.nix index 28fda5f..12e8291 100644 --- a/modules/home/programs/librewolf/default.nix +++ b/modules/home/programs/librewolf/default.nix @@ -1,4 +1,3 @@ -{ ... }: { programs.librewolf = { enable = false; diff --git a/modules/home/programs/password-store/default.nix b/modules/home/programs/password-store/default.nix index c920b11..2971b4f 100644 --- a/modules/home/programs/password-store/default.nix +++ b/modules/home/programs/password-store/default.nix @@ -1,4 +1,3 @@ -{ ... }: { # The default value of `programs.password-store.settings` has changed from `{ PASSWORD_STORE_DIR = "$XDG_DATA_HOME/password-store"; }` to `{ }`. # You are currently using the legacy default (`{ PASSWORD_STORE_DIR = "$XDG_DATA_HOME/password-store"; }`) because `home.stateVersion` is less than "25.11". diff --git a/modules/home/programs/zsh/default.nix b/modules/home/programs/zsh/default.nix index 7ac5ae8..2a02a9c 100644 --- a/modules/home/programs/zsh/default.nix +++ b/modules/home/programs/zsh/default.nix @@ -1,4 +1,3 @@ -{ ... }: let defaultShellAliases = { l = "ls -alh"; diff --git a/modules/home/services/pass/default.nix b/modules/home/services/pass/default.nix index 55d2ed2..45e7679 100644 --- a/modules/home/services/pass/default.nix +++ b/modules/home/services/pass/default.nix @@ -1,6 +1,3 @@ -{ - ... -}: { #services.gnome-keyring.enable = false; #home.packages = [ pkgs.gcr ]; diff --git a/overlays/radios/default.nix b/overlays/radios/default.nix deleted file mode 100644 index 3422add..0000000 --- a/overlays/radios/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ ... }: -final: prev: { - python3 = prev.python3.override { - packageOverrides = _pyFinal: pyPrev: { - radios = pyPrev.radios.overridePythonAttrs (old: { - nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pyPrev.pythonRelaxDepsHook ]; - pythonRelaxDeps = [ "pycountry" ]; - }); - }; - }; - python3Packages = final.python3.pkgs; -} diff --git a/statix.toml b/statix.toml index 3620bb7..17f0303 100644 --- a/statix.toml +++ b/statix.toml @@ -3,13 +3,11 @@ # manual_inherit / manual_inherit_from: very high volume of style suggestions. # useless_parens: many intentional parentheses for readability. # empty_pattern: { ... }: is a valid and readable no-arg pattern. -# unquoted_uri: false-positives inside shell heredocs in Nix strings. disabled = [ "manual_inherit", "manual_inherit_from", "useless_parens", - "empty_pattern", - "unquoted_uri", + "empty_pattern", # needed for some overlays ] # Exclude files where statix's parser fails on complex shell-in-Nix content. diff --git a/systems/aarch64-darwin/macbook-pro/default.nix b/systems/aarch64-darwin/macbook-pro/default.nix index 5cadcda..49e813a 100755 --- a/systems/aarch64-darwin/macbook-pro/default.nix +++ b/systems/aarch64-darwin/macbook-pro/default.nix @@ -34,21 +34,9 @@ nix = { linux-builder = { enable = false; - config = ( - { ... }: - { - virtualisation.cores = 6; - # environment.etc."ccache.conf".text = '' - # remote_storage: redis://jallen-nas.local:6363 - # remote_only: true - # ''; - # programs.ccache.cacheDir = "/etc/ccache"; - # systemd.tmpfiles.rules = [ - # # "d /var/cache/ccache 0770 builder nixbld -" - # "p+ /var/cache/ccache/ccache.conf - - - - /etc/ccache.conf" - # ]; - } - ); + config = ({ + virtualisation.cores = 6; + }); }; }; diff --git a/systems/aarch64-darwin/macbook-pro/settings.nix b/systems/aarch64-darwin/macbook-pro/settings.nix index 8e78fd7..ab27455 100644 --- a/systems/aarch64-darwin/macbook-pro/settings.nix +++ b/systems/aarch64-darwin/macbook-pro/settings.nix @@ -1,4 +1,3 @@ -{ ... }: { services.nix-plist-manager = { enable = true; diff --git a/systems/x86_64-linux/jallen-nas/nas-pool.nix b/systems/x86_64-linux/jallen-nas/nas-pool.nix index 715990f..6128da1 100644 --- a/systems/x86_64-linux/jallen-nas/nas-pool.nix +++ b/systems/x86_64-linux/jallen-nas/nas-pool.nix @@ -1,4 +1,3 @@ -{ ... }: { disko.devices = { disk = { diff --git a/systems/x86_64-linux/matt-nixos/services/lsfg-vk/default.nix b/systems/x86_64-linux/matt-nixos/services/lsfg-vk/default.nix index 7962624..8f00120 100644 --- a/systems/x86_64-linux/matt-nixos/services/lsfg-vk/default.nix +++ b/systems/x86_64-linux/matt-nixos/services/lsfg-vk/default.nix @@ -1,4 +1,3 @@ -{ ... }: { services.lsfg-vk = { enable = true;