nix-deploy/deploy/default.nix

30 lines
743 B
Nix
Raw Normal View History

2021-09-22 10:16:11 +02:00
let
sources = import ../config/sources;
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-09-23 16:45:06 +02:00
grondahl = { lib, config, ... }: {
host = "emelie@anarkafem.dev";
configuration = ../config/hosts/grondahl/configuration.nix;
};
2021-09-27 14:55:55 +02:00
rudiger = { lib, config, ... }: {
host = "emelie@cloud.graven.dev";
configuration = ../config/hosts/rudiger/configuration.nix;
};
2021-09-22 10:16:11 +02:00
};
})