This commit is contained in:
iFargle 2023-09-19 08:05:11 +09:00
parent 8f40ec007f
commit 81bcb54092

View file

@ -44,9 +44,10 @@
gpu ? null, gpu ? null,
theme ? "default" theme ? "default"
}: { }: {
libx = import . { inherit inputs outputs stateVersion hmStateVersion; };
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme; }; specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu platform theme; };
hostname = mkHost { hostname = hostname; platform = platform; installer = installer; }; hostname = libx.mkHost { hostname = hostname; platform = platform; installer = installer; };
"$username@$hostname" = mkHome { hostname = hostname; platform = platform; }; "$username@$hostname" = libx.mkHome { hostname = hostname; platform = platform; };
}; };
forAllSystems = inputs.nixpkgs.lib.genAttrs [ forAllSystems = inputs.nixpkgs.lib.genAttrs [