From 954461d2c400157927386d1b1e5875d4bd0ada7f Mon Sep 17 00:00:00 2001 From: Leonhard Kost Date: Mon, 26 Jan 2026 00:04:40 +0100 Subject: [PATCH] chore: improve calling of modules --- nixos/base.nix | 2 ++ nixos/desktop/default.nix | 17 ++--------------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/nixos/base.nix b/nixos/base.nix index 6ebb0a9..07f934e 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -1,6 +1,8 @@ { inputs, outputs, +}: +{ lib, config, pkgs, diff --git a/nixos/desktop/default.nix b/nixos/desktop/default.nix index 4cb272a..9a109de 100644 --- a/nixos/desktop/default.nix +++ b/nixos/desktop/default.nix @@ -1,25 +1,12 @@ { inputs, outputs, - lib, - config, - pkgs, ... }: { imports = [ - (import ../base.nix { - inherit - inputs - outputs - config - lib - pkgs - ; - }) - (import ./hardware-configuration.nix { - inherit lib; - }) + (import ../base.nix { inherit inputs outputs; }) + ./hardware-configuration.nix ]; # Enable CUPS to print documents.