auth: add user for each administrator #261
64
flake.nix
64
flake.nix
|
@ -121,42 +121,42 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
flake = {
|
flake = {
|
||||||
nixosModules = builtins.listToAttrs (
|
nixosModules = builtins.listToAttrs (
|
||||||
map (x: {
|
map (x: {
|
||||||
name = x;
|
name = x;
|
||||||
value = import (./modules + "/${x}");
|
value = import (./modules + "/${x}");
|
||||||
}) (builtins.attrNames (builtins.readDir ./modules))
|
}) (builtins.attrNames (builtins.readDir ./modules))
|
||||||
);
|
);
|
||||||
|
|
||||||
checks = builtins.mapAttrs (
|
checks = builtins.mapAttrs (
|
||||||
system: deployLib: deployLib.deployChecks self.deploy
|
system: deployLib: deployLib.deployChecks self.deploy
|
||||||
) inputs.deploy-rs.lib;
|
) inputs.deploy-rs.lib;
|
||||||
|
|
||||||
formatter."x86_64-linux" = inputs.unstable.legacyPackages."x86_64-linux".nixfmt-rfc-style;
|
formatter."x86_64-linux" = inputs.unstable.legacyPackages."x86_64-linux".nixfmt-rfc-style;
|
||||||
|
|
||||||
deploy.nodes = self.lib.deploy.mkDeployNodes self.nixosConfigurations {
|
deploy.nodes = self.lib.deploy.mkDeployNodes self.nixosConfigurations {
|
||||||
nachtigall = {
|
nachtigall = {
|
||||||
hostname = "nachtigall.wg.pub.solar";
|
hostname = "nachtigall.wg.pub.solar";
|
||||||
};
|
};
|
||||||
metronom = {
|
metronom = {
|
||||||
hostname = "metronom.wg.pub.solar";
|
hostname = "metronom.wg.pub.solar";
|
||||||
};
|
};
|
||||||
tankstelle = {
|
tankstelle = {
|
||||||
hostname = "tankstelle.wg.pub.solar";
|
hostname = "tankstelle.wg.pub.solar";
|
||||||
};
|
};
|
||||||
underground = {
|
underground = {
|
||||||
hostname = "80.244.242.3";
|
hostname = "80.244.242.3";
|
||||||
};
|
};
|
||||||
trinkgenossin = {
|
trinkgenossin = {
|
||||||
hostname = "trinkgenossin.wg.pub.solar";
|
hostname = "trinkgenossin.wg.pub.solar";
|
||||||
};
|
};
|
||||||
delite = {
|
delite = {
|
||||||
hostname = "delite.wg.pub.solar";
|
hostname = "delite.wg.pub.solar";
|
||||||
};
|
};
|
||||||
blue-shell = {
|
blue-shell = {
|
||||||
hostname = "blue-shell.wg.pub.solar";
|
hostname = "blue-shell.wg.pub.solar";
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue