dot.nix/hosts/nixos/sock/hardware.nix
Chris Toph 5879c0bed8 Initial Setup for Sock host; Docker environment, secrets, and backups
- 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
2025-06-02 18:02:00 -04:00

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 -"
];
}