machine/workman: init

This commit is contained in:
Felix Buehler 2025-05-04 20:20:28 +02:00
parent c48b59fe72
commit 8c029fad44
14 changed files with 336 additions and 1 deletions

View file

@ -0,0 +1,21 @@
# Deployed services
{ config, ... }:
let
inherit (config.sops) secrets;
in
{
sops.secrets."borgbackup/password" = { };
sops.secrets."borgbackup/ssh_key" = { };
# List services that you want to enable:
my.services = {
backup = {
enable = true;
OnFailureNotification = true;
passwordFile = secrets."borgbackup/password".path;
sshKeyFile = secrets."borgbackup/ssh_key".path;
paths = [ "/" ];
};
vpn.enable = true;
};
}