chore: improve calling of modules

This commit is contained in:
2026-01-26 00:04:40 +01:00
parent 035bb3eaab
commit 954461d2c4
2 changed files with 4 additions and 15 deletions
+2
View File
@@ -1,6 +1,8 @@
{ {
inputs, inputs,
outputs, outputs,
}:
{
lib, lib,
config, config,
pkgs, pkgs,
+2 -15
View File
@@ -1,25 +1,12 @@
{ {
inputs, inputs,
outputs, outputs,
lib,
config,
pkgs,
... ...
}: }:
{ {
imports = [ imports = [
(import ../base.nix { (import ../base.nix { inherit inputs outputs; })
inherit ./hardware-configuration.nix
inputs
outputs
config
lib
pkgs
;
})
(import ./hardware-configuration.nix {
inherit lib;
})
]; ];
# Enable CUPS to print documents. # Enable CUPS to print documents.