✨ Moved modeules into shared
This commit is contained in:
20
flake.nix
20
flake.nix
@ -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;
|
||||
|
Reference in New Issue
Block a user