2021-11-22 13:00:07 +00:00
|
|
|
let
|
2021-11-22 14:12:43 +00:00
|
|
|
sources = import ../config/sources;
|
2021-11-22 13:00:07 +00:00
|
|
|
in import "${sources.nixus}" {} ({ config, ... }: {
|
|
|
|
|
2021-11-22 14:12:43 +00:00
|
|
|
defaults = { name, ... }: {
|
|
|
|
configuration = { lib, ... }: {
|
|
|
|
networking.hostName = lib.mkDefault name;
|
|
|
|
};
|
2021-11-22 13:00:07 +00:00
|
|
|
|
2021-11-22 14:12:43 +00:00
|
|
|
# use our nixpkgs from niv
|
|
|
|
nixpkgs = sources.nixpkgs;
|
|
|
|
};
|
2021-11-22 13:00:07 +00:00
|
|
|
|
2021-11-22 14:12:43 +00:00
|
|
|
nodes = {
|
|
|
|
mail = { lib, config, ... }: {
|
2021-11-23 10:40:34 +00:00
|
|
|
host = "deploy-nix@nixaalb.org";
|
2021-11-22 14:12:43 +00:00
|
|
|
configuration = ../config/hosts/capetillo/configuration.nix;
|
|
|
|
switchTimeout = 300;
|
|
|
|
successTimeout = 300;
|
|
|
|
#ignoreFailingSystemdUnits = true;
|
|
|
|
};
|
|
|
|
};
|
2021-11-22 13:00:07 +00:00
|
|
|
})
|