map magic

This commit is contained in:
Chris Dombroski 2024-09-21 21:13:46 -04:00
parent 08da5d26be
commit 322e8cad34

View file

@ -66,18 +66,23 @@
}; };
home.users.cdombroski.passInOsConfig = true; home.users.cdombroski.passInOsConfig = true;
home.users.root.importDefault = false; home.users.root.importDefault = false;
nixos.hosts.smolboi.userHomeModules = [ nixos.hosts = builtins.listToAttrs (
"root" builtins.map
"cdombroski" (host: {
]; name = host;
nixos.hosts.zeus.userHomeModules = [ value = {
"root" userHomeModules = [
"cdombroski" "root"
]; "cdombroski"
nixos.hosts.orangepihole.userHomeModules = [ ];
"root" };
"cdombroski" })
]; [
"smolboi"
"zeus"
"orangepihole"
]
);
}; };
flake = { flake = {
deploy = { deploy = {