possible way so handle host names with home-manager needs testing
This commit is contained in:
parent
ee1ed4739e
commit
b5aa70aa3a
1 changed files with 31 additions and 1 deletions
32
flake.nix
32
flake.nix
|
@ -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; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue