1 { pkgs, lib, config, ... }:
3 inherit (config.users) users;
6 system.activationScripts.backup = ''
7 ${pkgs.zfs}/bin/zfs allow -u ${users.backup.name} bookmark,hold,send rpool
29 use_template = [ "local" ];
33 use_template = [ "local" ];
37 "rpool/var/public-inbox" = {
38 use_template = [ "local" ];
42 use_template = [ "local" ];
46 use_template = [ "local" ];
50 "rpool/home/julm/mail" = {
51 use_template = [ "local" ];
55 "rpool/home/julm/log" = {
56 use_template = [ "local" ];
61 "rpool/backup/losurdo/home/julm/work" = {
62 use_template = [ "remote" ];
65 "rpool/backup/losurdo/var/postgresql" = {
66 use_template = [ "remote" ];