(desktop) Gen 446: Cleaned up broken inputs, altered 'nixswitch' to be interchangeable between hosts, added 'host' attr

This commit is contained in:
pagedMov
2024-10-13 02:15:56 -04:00
parent 1379e5a8ef
commit 9372e3af0d
14 changed files with 124 additions and 41 deletions

View File

@@ -50,8 +50,9 @@
in
{
nixosConfigurations = {
glasshouse-desktop = nixpkgs.lib.nixosSystem {
desktop = nixpkgs.lib.nixosSystem {
specialArgs = {
host = "desktop";
inherit self inputs username;
};
inherit system;
@@ -61,8 +62,9 @@
];
};
glasshouse-laptop = nixpkgs.lib.nixosSystem {
laptop = nixpkgs.lib.nixosSystem {
specialArgs = {
host = "laptop";
inherit self inputs username;
};
modules = [