- Introduces new Nix modules for comprehensive backup configuration using Borg - Implements orchestrated backup chain with logging, status tracking, and notifications - Establishes Docker container service definitions and network configurations for Komodo services - Updates host and service secrets, including firewall and Docker credentials
21 lines
406 B
Nix
21 lines
406 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
username = config.hostSpec.username;
|
|
in
|
|
{
|
|
imports = lib.flatten [
|
|
(map lib.custom.relativeToRoot [
|
|
"hosts/global/common/system/lxc.nix"
|
|
"hosts/global/common/system/pool.nix"
|
|
])
|
|
];
|
|
|
|
# Ochre has no access to PVE DockerStorage, so sock will have its own storage
|
|
systemd.user.tmpfiles.rules = [
|
|
"d /OchreStorage 2775 ${username} ryot -"
|
|
];
|
|
}
|