Moved modeules into shared

This commit is contained in:
2025-04-14 23:30:50 +02:00
parent 3b6a3e5a66
commit 9611b8bb8d
51 changed files with 58 additions and 406 deletions

View File

@ -80,6 +80,7 @@
{
hostName = "desktop";
system = "x86_64-linux";
nvidia.enable = true;
}
{
hostName = "thinkpad";
@ -88,7 +89,7 @@
{
hostName = "pi4";
system = "aarch64-linux";
enableWayland = false;
wayland.enable = false;
}
# TODO Homelab config
];
@ -114,8 +115,13 @@
password = "temp";
},
version ? common.version,
enableWayland ? true,
}:
wayland ? {
enable = true;
},
nvidia ? {
enable = false;
},
}@systemConfig: # TODO only pass in systemConfig
{
name = hostName;
@ -128,9 +134,7 @@
common
theme
lib
hostName
version
enableWayland
systemConfig
;
isDarwin = false;
};
@ -149,9 +153,7 @@
common
theme
libHm
hostName
version
enableWayland
systemConfig
;
};
users.${user.name} = import ./hosts/${hostName}/home-manager;