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 = {
targetHost = "somehost.tld";
targetPort = 1234;
targetUser = "luser";
targetHost = "188.40.66.217";
targetPort = 22;
targetUser = "root";
};
imports = [ ./git_system.nix ];
};
runner-system =
{
name,
nodes,
pkgs,
...
}:
{
imports = [ ./runner_system.nix ];
};
dev-system =
{
name,
nodes,
pkgs,
...
}:
{
imports = [
./dev_system.nix
inputs.sops-nix.nixosModules.sops
# ./git_system.nix
(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
];
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 = {
defaults.email = "michael.huebner@ptspaper.de";
acceptTerms = true;