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:
GarandPLG committed 2026-05-24 15:43:18 +02:00
1 parent 077d8f07e7
commit 98069fa8d9
18 files changed
+53 -75

No files matched your search

+3 -4
View File
@@ -1,10 +1,9 @@
{
host,
extraMonitorSettings,
keyboardLayout,
pkgs,
...
}: let
inherit (import ../../../hosts/${host}/variables.nix) extraMonitorSettings keyboardLayout;
in {
}: {
systemd.user.targets.hyprland-session.Unit.Wants = [
"xdg-desktop-autostart.target"
];