chore: Remove unused variables and imports
All checks were successful
CI / Format Check (push) Successful in 2s
CI / Flake Check (push) Successful in 1m34s
CI / Evaluate Key Configurations (nix-builder) (push) Successful in 8s
CI / Evaluate Key Configurations (nix-desktop1) (push) Successful in 6s
CI / Evaluate Key Configurations (nix-laptop1) (push) Successful in 6s
CI / Evaluate Artifacts (installer-iso-nix-laptop1) (push) Successful in 13s
CI / Evaluate Artifacts (lxc-nix-builder) (push) Successful in 7s
All checks were successful
CI / Format Check (push) Successful in 2s
CI / Flake Check (push) Successful in 1m34s
CI / Evaluate Key Configurations (nix-builder) (push) Successful in 8s
CI / Evaluate Key Configurations (nix-desktop1) (push) Successful in 6s
CI / Evaluate Key Configurations (nix-laptop1) (push) Successful in 6s
CI / Evaluate Artifacts (installer-iso-nix-laptop1) (push) Successful in 13s
CI / Evaluate Artifacts (lxc-nix-builder) (push) Successful in 7s
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
# - Timezone and locale settings
|
# - Timezone and locale settings
|
||||||
# - Systemd sleep configuration
|
# - Systemd sleep configuration
|
||||||
|
|
||||||
{ config, lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.enable = lib.mkDefault true;
|
loader.systemd-boot.enable = lib.mkDefault true;
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
# It is automatically imported by the fleet generator for every host.
|
# It is automatically imported by the fleet generator for every host.
|
||||||
|
|
||||||
{
|
{
|
||||||
inputs,
|
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -165,8 +165,6 @@ let
|
|||||||
let
|
let
|
||||||
hostType = config.type or prefix;
|
hostType = config.type or prefix;
|
||||||
system = config.system or "x86_64-linux";
|
system = config.system or "x86_64-linux";
|
||||||
devices = config.devices or { };
|
|
||||||
hasCount = config ? count;
|
|
||||||
|
|
||||||
# Helper to generate hostname from prefix and suffix
|
# Helper to generate hostname from prefix and suffix
|
||||||
# Numbers get no dash: "nix-surface1", "nix-surface2"
|
# Numbers get no dash: "nix-surface1", "nix-surface2"
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ let
|
|||||||
lib.types.int
|
lib.types.int
|
||||||
(lib.types.attrsOf (
|
(lib.types.attrsOf (
|
||||||
lib.types.submodule (
|
lib.types.submodule (
|
||||||
{ name, ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
freeformType = lib.types.attrs;
|
freeformType = lib.types.attrs;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
# Disables boot/disk management and enables remote development support.
|
# Disables boot/disk management and enables remote development support.
|
||||||
|
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
lib,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
inputs,
|
inputs,
|
||||||
|
|||||||
@@ -2,10 +2,7 @@
|
|||||||
# It is intended to be used in an installation ISO.
|
# 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.
|
# It expects `targetSystem` (the closure to install) and `diskoScript` (the partitioning script) to be passed as arguments.
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
|
||||||
hostName,
|
hostName,
|
||||||
hostPlatform,
|
hostPlatform,
|
||||||
targetSystemBuild,
|
targetSystemBuild,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ inputs }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
mkFleet = import ./mkFleet.nix;
|
mkFleet = import ./mkFleet.nix;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user