From 99ef62d31ae12dfa965680c7dd351ce58672a44c Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Wed, 11 Feb 2026 23:12:00 -0800 Subject: [PATCH] Fix unused vars --- common/binary-cache.nix | 2 +- common/boot/default.nix | 2 +- common/boot/firmware.nix | 2 +- common/flakes.nix | 2 +- common/machine-info/default.nix | 2 +- common/network/vpn.nix | 2 +- common/pc/audio.nix | 2 +- common/pc/touchpad.nix | 2 +- common/sandboxed-workspace/home.nix | 2 +- common/server/actualbudget.nix | 2 +- common/server/default.nix | 2 +- common/server/gitea-actions-runner.nix | 2 +- common/server/gitea.nix | 2 +- common/server/librechat.nix | 2 +- common/server/nginx.nix | 2 +- common/shell.nix | 2 +- common/ssh.nix | 2 +- home/googlebot.nix | 2 +- machines/fry/workspaces/test-container.nix | 2 +- machines/howl/default.nix | 2 +- machines/nat/configuration.nix | 2 +- machines/nat/hardware-configuration.nix | 2 +- machines/phil/default.nix | 2 +- machines/phil/hardware-configuration.nix | 2 +- machines/ponyo/hardware-configuration.nix | 2 +- machines/storage/s0/frigate.nix | 2 +- machines/storage/s0/hardware-configuration.nix | 2 +- machines/storage/s0/home-automation.nix | 2 +- machines/zoidberg/default.nix | 2 +- overlays/kernel-modules/default.nix | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/common/binary-cache.nix b/common/binary-cache.nix index fc80235..dcb0018 100644 --- a/common/binary-cache.nix +++ b/common/binary-cache.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ ... }: { nix = { diff --git a/common/boot/default.nix b/common/boot/default.nix index 09fae28..d7fc650 100644 --- a/common/boot/default.nix +++ b/common/boot/default.nix @@ -1,4 +1,4 @@ -{ lib, config, pkgs, ... }: +{ ... }: { imports = [ diff --git a/common/boot/firmware.nix b/common/boot/firmware.nix index bcf25d6..3afecad 100644 --- a/common/boot/firmware.nix +++ b/common/boot/firmware.nix @@ -1,4 +1,4 @@ -{ lib, config, pkgs, ... }: +{ lib, config, ... }: with lib; let diff --git a/common/flakes.nix b/common/flakes.nix index 0c6f21a..a25ca66 100644 --- a/common/flakes.nix +++ b/common/flakes.nix @@ -1,4 +1,4 @@ -{ lib, pkgs, config, ... }: +{ lib, config, ... }: with lib; let cfg = config.nix.flakes; diff --git a/common/machine-info/default.nix b/common/machine-info/default.nix index 44c03fc..59bf065 100644 --- a/common/machine-info/default.nix +++ b/common/machine-info/default.nix @@ -1,7 +1,7 @@ # Gathers info about each machine to constuct overall configuration # Ex: Each machine already trusts each others SSH fingerprint already -{ config, lib, pkgs, ... }: +{ config, lib, ... }: let machines = config.machines.hosts; diff --git a/common/network/vpn.nix b/common/network/vpn.nix index b854deb..f2f37a8 100644 --- a/common/network/vpn.nix +++ b/common/network/vpn.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, allModules, ... }: +{ config, lib, allModules, ... }: with lib; diff --git a/common/pc/audio.nix b/common/pc/audio.nix index 2f149a6..58af382 100644 --- a/common/pc/audio.nix +++ b/common/pc/audio.nix @@ -1,4 +1,4 @@ -{ lib, config, pkgs, ... }: +{ lib, config, ... }: let cfg = config.de; diff --git a/common/pc/touchpad.nix b/common/pc/touchpad.nix index 9eb084c..b3f4d50 100644 --- a/common/pc/touchpad.nix +++ b/common/pc/touchpad.nix @@ -1,4 +1,4 @@ -{ lib, config, pkgs, ... }: +{ lib, config, ... }: let cfg = config.de; diff --git a/common/sandboxed-workspace/home.nix b/common/sandboxed-workspace/home.nix index 85d76d4..c0b9fad 100644 --- a/common/sandboxed-workspace/home.nix +++ b/common/sandboxed-workspace/home.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ lib, pkgs, ... }: # Home Manager configuration for sandboxed workspace user environment # This sets up the shell and tools inside VMs and containers diff --git a/common/server/actualbudget.nix b/common/server/actualbudget.nix index 997d2b1..bdb0546 100644 --- a/common/server/actualbudget.nix +++ b/common/server/actualbudget.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ config, lib, ... }: let cfg = config.services.actual; diff --git a/common/server/default.nix b/common/server/default.nix index 5ef68a8..c0e0f8a 100644 --- a/common/server/default.nix +++ b/common/server/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ ... }: { imports = [ diff --git a/common/server/gitea-actions-runner.nix b/common/server/gitea-actions-runner.nix index 24c35e9..fa03f46 100644 --- a/common/server/gitea-actions-runner.nix +++ b/common/server/gitea-actions-runner.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, allModules, ... }: +{ config, pkgs, lib, ... }: # Gitea Actions Runner. Starts 'host' runner that runs directly on the host inside of a nixos container # This is useful for providing a real Nix/OS builder to gitea. diff --git a/common/server/gitea.nix b/common/server/gitea.nix index 38be6a1..39a6a89 100644 --- a/common/server/gitea.nix +++ b/common/server/gitea.nix @@ -1,4 +1,4 @@ -{ lib, pkgs, config, ... }: +{ lib, config, ... }: let cfg = config.services.gitea; diff --git a/common/server/librechat.nix b/common/server/librechat.nix index 3f9b3bd..1c17993 100644 --- a/common/server/librechat.nix +++ b/common/server/librechat.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, ... }: with lib; diff --git a/common/server/nginx.nix b/common/server/nginx.nix index 8676922..262c5b8 100644 --- a/common/server/nginx.nix +++ b/common/server/nginx.nix @@ -1,4 +1,4 @@ -{ lib, config, pkgs, ... }: +{ lib, config, ... }: let cfg = config.services.nginx; diff --git a/common/shell.nix b/common/shell.nix index 0bc818e..1145b5d 100644 --- a/common/shell.nix +++ b/common/shell.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ pkgs, ... }: # Improvements to the default shell # - use nix-index for command-not-found diff --git a/common/ssh.nix b/common/ssh.nix index 328b4e8..e4d6395 100644 --- a/common/ssh.nix +++ b/common/ssh.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, ... }: { programs.ssh.knownHosts = lib.filterAttrs (n: v: v != null) (lib.concatMapAttrs diff --git a/home/googlebot.nix b/home/googlebot.nix index 61690fb..b477c1c 100644 --- a/home/googlebot.nix +++ b/home/googlebot.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, osConfig, ... }: +{ lib, pkgs, osConfig, ... }: # https://home-manager-options.extranix.com/ # https://nix-community.github.io/home-manager/options.xhtml diff --git a/machines/fry/workspaces/test-container.nix b/machines/fry/workspaces/test-container.nix index e08984c..0f4280c 100644 --- a/machines/fry/workspaces/test-container.nix +++ b/machines/fry/workspaces/test-container.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ pkgs, ... }: # Test container workspace configuration # diff --git a/machines/howl/default.nix b/machines/howl/default.nix index eae09fa..b5d0161 100644 --- a/machines/howl/default.nix +++ b/machines/howl/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ lib, ... }: { imports = [ diff --git a/machines/nat/configuration.nix b/machines/nat/configuration.nix index 3baf90f..7cbb9cb 100644 --- a/machines/nat/configuration.nix +++ b/machines/nat/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, fetchurl, lib, ... }: +{ ... }: { imports = [ diff --git a/machines/nat/hardware-configuration.nix b/machines/nat/hardware-configuration.nix index 8771611..e63f815 100644 --- a/machines/nat/hardware-configuration.nix +++ b/machines/nat/hardware-configuration.nix @@ -1,7 +1,7 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ ... }: { imports = [ ]; diff --git a/machines/phil/default.nix b/machines/phil/default.nix index 8dac03c..9d8d228 100644 --- a/machines/phil/default.nix +++ b/machines/phil/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ lib, ... }: { imports = [ diff --git a/machines/phil/hardware-configuration.nix b/machines/phil/hardware-configuration.nix index 6f7efe3..d7c14e4 100644 --- a/machines/phil/hardware-configuration.nix +++ b/machines/phil/hardware-configuration.nix @@ -1,7 +1,7 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ lib, modulesPath, ... }: { imports = diff --git a/machines/ponyo/hardware-configuration.nix b/machines/ponyo/hardware-configuration.nix index 21085a7..c86a242 100644 --- a/machines/ponyo/hardware-configuration.nix +++ b/machines/ponyo/hardware-configuration.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, modulesPath, ... }: +{ lib, modulesPath, ... }: { imports = diff --git a/machines/storage/s0/frigate.nix b/machines/storage/s0/frigate.nix index d7a1c47..6d95163 100644 --- a/machines/storage/s0/frigate.nix +++ b/machines/storage/s0/frigate.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ config, lib, ... }: let frigateHostname = "frigate.s0.neet.dev"; diff --git a/machines/storage/s0/hardware-configuration.nix b/machines/storage/s0/hardware-configuration.nix index 4510b50..686af06 100644 --- a/machines/storage/s0/hardware-configuration.nix +++ b/machines/storage/s0/hardware-configuration.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, modulesPath, ... }: +{ lib, pkgs, modulesPath, ... }: { imports = diff --git a/machines/storage/s0/home-automation.nix b/machines/storage/s0/home-automation.nix index bc505b2..28c1057 100644 --- a/machines/storage/s0/home-automation.nix +++ b/machines/storage/s0/home-automation.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, ... }: { services.esphome.enable = true; diff --git a/machines/zoidberg/default.nix b/machines/zoidberg/default.nix index a756375..48cd382 100644 --- a/machines/zoidberg/default.nix +++ b/machines/zoidberg/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ config, pkgs, ... }: { imports = [ diff --git a/overlays/kernel-modules/default.nix b/overlays/kernel-modules/default.nix index d63c860..33715e8 100644 --- a/overlays/kernel-modules/default.nix +++ b/overlays/kernel-modules/default.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ config, ... }: # Adds additional kernel modules to the nixos system # Not actually an overlay but a module. Has to be this way because kernel