possible way so handle host names with home-manager needs testing

This commit is contained in:
Chris Toph 2024-09-22 23:09:41 -04:00
parent ee1ed4739e
commit b5aa70aa3a

View file

@ -60,9 +60,39 @@
}; };
}; };
homeConfigurations = { homeConfigurations = {
toph = home-manager.lib.homeManagerConfiguration { "toph@caenus" = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
hostName = "caenus";
modules = [ ./home-manager ]; modules = [ ./home-manager ];
specialArgs = { inherit hostName; };
};
"toph@cloud" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
hostName = "cloud";
modules = [ ./home-manager ];
specialArgs = { inherit hostName; };
};
"toph@dockge" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
hostName = "dockge";
modules = [ ./home-manager ];
specialArgs = { inherit hostName; };
};
"toph@nix" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
hostName = "nix";
modules = [ ./home-manager ];
specialArgs = { inherit hostName; };
};
"toph@proxy" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
hostName = "proxy";
modules = [ ./home-manager ];
specialArgs = { inherit hostName; };
}; };
}; };
}; };