Refactor to pass host vars as arguments
Remove per‑host imports across flake, modules, and profiles, exposing needed variables (system, printer settings, consoleKeyMap, etc.) as arguments. Drop unused printEnable flags from host variable files.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
{host, ...}: let
|
||||
inherit (import ../../hosts/${host}/variables.nix) intelID nvidiaID;
|
||||
in {
|
||||
{
|
||||
host,
|
||||
intelID,
|
||||
nvidiaID,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../hosts/${host}
|
||||
../../modules/drivers
|
||||
|
||||
Reference in New Issue
Block a user