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 parent
077d8f07e7
commit
98069fa8d9
18 files changed
+53
-75
No files matched your search
@@ -1,6 +1,4 @@
|
||||
{host, ...}: let
|
||||
inherit (import ../../../hosts/${host}/variables.nix) shell;
|
||||
in {
|
||||
{shell, ...}: {
|
||||
programs.bash = {
|
||||
enable =
|
||||
if shell == "bash"
|
||||
|
||||
Reference in new issue
Block a user