nix-deploy/deploy/default.nix

39 lines
1 KiB
Nix
Raw Permalink Normal View History

2021-09-22 10:16:11 +02:00
let
2021-11-23 15:29:23 +01:00
sources = import ../config/sources;
2021-09-22 10:16:11 +02:00
in import "${sources.nixus}" {} ({ config, ... }: {
defaults = { name, ... }: {
configuration = { lib, ... }: {
networking.hostName = lib.mkDefault name;
};
# use our nixpkgs from niv
nixpkgs = sources.nixpkgs;
};
nodes = {
wind = { lib, config, ... }: {
host = "emelie@graven.dev";
configuration = ../config/hosts/wind/configuration.nix;
2021-10-24 21:41:50 +02:00
switchTimeout = 300;
successTimeout = 300;
ignoreFailingSystemdUnits = true;
2021-09-22 10:16:11 +02:00
};
2021-09-23 16:45:06 +02:00
grondahl = { lib, config, ... }: {
host = "emelie@anarkafem.dev";
configuration = ../config/hosts/grondahl/configuration.nix;
2021-10-24 21:41:50 +02:00
successTimeout = 300;
switchTimeout = 300;
ignoreFailingSystemdUnits = true;
2021-09-23 16:45:06 +02:00
};
2021-09-27 14:55:55 +02:00
rudiger = { lib, config, ... }: {
host = "emelie@cloud.graven.dev";
configuration = ../config/hosts/rudiger/configuration.nix;
2021-10-24 21:41:50 +02:00
switchTimeout = 300;
successTimeout = 300;
ignoreFailingSystemdUnits = true;
2021-09-27 14:55:55 +02:00
};
2021-09-22 10:16:11 +02:00
};
})