Try colmena system 1

This commit is contained in:
Michael Huebner 2025-05-19 10:35:25 +02:00
parent bdb4e928a4
commit a0a8280934
2 changed files with 28 additions and 45 deletions

View file

@ -31,35 +31,38 @@
}: }:
{ {
deployment = { deployment = {
targetHost = "somehost.tld"; targetHost = "188.40.66.217";
targetPort = 1234; targetPort = 22;
targetUser = "luser"; targetUser = "root";
}; };
imports = [ ./git_system.nix ];
};
runner-system =
{
name,
nodes,
pkgs,
...
}:
{
imports = [ ./runner_system.nix ];
};
dev-system =
{
name,
nodes,
pkgs,
...
}:
{
imports = [ imports = [
./dev_system.nix # ./git_system.nix
inputs.sops-nix.nixosModules.sops (import ./setup { inherit inputs; })
]; ];
}; };
# runner-system =
# {
# name,
# nodes,
# pkgs,
# ...
# }:
# {
# imports = [ ./runner_system.nix ];
# };
# dev-system =
# {
# name,
# nodes,
# pkgs,
# ...
# }:
# {
# imports = [
# ./dev_system.nix
# inputs.sops-nix.nixosModules.sops
# ];
# };
}; };
}; };
} }

View file

@ -23,26 +23,6 @@ in
./shared/ssh.nix ./shared/ssh.nix
]; ];
programs = {
msmtp = {
enable = true;
defaults = {
tls = true;
};
accounts = {
default = {
auth = true;
host = "TODO: e.g. smtp.strato.de";
port = 587;
tls_starttls = true;
from = "TODO: email";
user = "TODO: email";
password = "TODO";
};
};
};
};
security.acme = { security.acme = {
defaults.email = "michael.huebner@ptspaper.de"; defaults.email = "michael.huebner@ptspaper.de";
acceptTerms = true; acceptTerms = true;