diff --git a/fleet/boot.nix b/fleet/boot.nix index b2ef67c..f79d733 100644 --- a/fleet/boot.nix +++ b/fleet/boot.nix @@ -6,7 +6,7 @@ # - Timezone and locale settings # - Systemd sleep configuration -{ config, lib, ... }: +{ lib, ... }: { boot = { loader.systemd-boot.enable = lib.mkDefault true; diff --git a/fleet/common.nix b/fleet/common.nix index 17766de..089ba3c 100644 --- a/fleet/common.nix +++ b/fleet/common.nix @@ -5,7 +5,6 @@ # It is automatically imported by the fleet generator for every host. { - inputs, config, lib, ... diff --git a/fleet/default.nix b/fleet/default.nix index 25d8e40..7fe2f3d 100644 --- a/fleet/default.nix +++ b/fleet/default.nix @@ -165,8 +165,6 @@ let let hostType = config.type or prefix; system = config.system or "x86_64-linux"; - devices = config.devices or { }; - hasCount = config ? count; # Helper to generate hostname from prefix and suffix # Numbers get no dash: "nix-surface1", "nix-surface2" diff --git a/fleet/fleet-option.nix b/fleet/fleet-option.nix index 8cbb993..6f75082 100644 --- a/fleet/fleet-option.nix +++ b/fleet/fleet-option.nix @@ -31,7 +31,7 @@ let lib.types.int (lib.types.attrsOf ( lib.types.submodule ( - { name, ... }: + { ... }: { freeformType = lib.types.attrs; } diff --git a/hw/nix-lxc.nix b/hw/nix-lxc.nix index a5b161d..ff8a938 100644 --- a/hw/nix-lxc.nix +++ b/hw/nix-lxc.nix @@ -5,7 +5,6 @@ # Disables boot/disk management and enables remote development support. { - config, lib, modulesPath, inputs, diff --git a/installer/auto-install.nix b/installer/auto-install.nix index 96f3dfe..db4114c 100644 --- a/installer/auto-install.nix +++ b/installer/auto-install.nix @@ -2,10 +2,7 @@ # It is intended to be used in an installation ISO. # It expects `targetSystem` (the closure to install) and `diskoScript` (the partitioning script) to be passed as arguments. { - config, - lib, pkgs, - inputs, hostName, hostPlatform, targetSystemBuild, diff --git a/lib/default.nix b/lib/default.nix index 372377f..cd24450 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -1,4 +1,4 @@ -{ inputs }: +{ ... }: { mkFleet = import ./mkFleet.nix; } diff --git a/users.nix b/users.nix index 5cbd321..de1c030 100644 --- a/users.nix +++ b/users.nix @@ -1,4 +1,4 @@ -{ lib, inputs, config, ... }: +{ ... }: { # ============================================================================ # User Definitions