map magic

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

View file

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