This commit is contained in:
Emelie 2021-09-22 10:16:11 +02:00
commit b14a690975
Signed by: emelie
GPG key ID: 49D33365A7E22D12
18 changed files with 707 additions and 0 deletions

23
deploy/default.nix Normal file
View file

@ -0,0 +1,23 @@
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;
switchTimeout = 300;
successTimeout = 300;
};
};
})