From 63eac33d055973945c98e4d66fb1bca852fdddb8 Mon Sep 17 00:00:00 2001 From: blahai Date: Sun, 12 Jan 2025 18:38:06 +0200 Subject: [PATCH] Remove unused declarations --- modules/base/nix/system.nix | 6 +----- modules/nixos/boot/generic.nix | 6 +++--- modules/nixos/boot/loader/systemd-boot.nix | 3 --- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/modules/base/nix/system.nix b/modules/base/nix/system.nix index bfa9419..d939e97 100644 --- a/modules/base/nix/system.nix +++ b/modules/base/nix/system.nix @@ -1,8 +1,4 @@ -{ - lib, - pkgs, - ... -}: let +{lib, ...}: let inherit (lib.modules) mkDefault; in { system = { diff --git a/modules/nixos/boot/generic.nix b/modules/nixos/boot/generic.nix index eb03ca8..e968419 100644 --- a/modules/nixos/boot/generic.nix +++ b/modules/nixos/boot/generic.nix @@ -4,10 +4,10 @@ lib, ... }: let - inherit (lib.modules) mkIf mkForce mkMerge mkDefault mkOverride; + inherit (lib.modules) mkIf mkForce mkMerge mkDefault; inherit (lib.lists) optionals; - inherit (lib.options) mkOption mkEnableOption literalExpression; - inherit (lib.types) str raw listOf package; + inherit (lib.options) mkOption mkEnableOption; + inherit (lib.types) raw; cfg = config.olympus.system.boot; in { diff --git a/modules/nixos/boot/loader/systemd-boot.nix b/modules/nixos/boot/loader/systemd-boot.nix index 9e94f9a..cfc89d1 100644 --- a/modules/nixos/boot/loader/systemd-boot.nix +++ b/modules/nixos/boot/loader/systemd-boot.nix @@ -1,12 +1,9 @@ { lib, - pkgs, config, ... }: let inherit (lib.modules) mkIf mkDefault; - inherit (lib.attrsets) optionalAttrs; - inherit (lib.options) mkEnableOption mkPackageOption; cfg = config.olympus.system.boot; in {