config

NixOS config
Log | Files | Refs | README | LICENSE

commit bc43fbf222e5a084e2d6601c3dbf4172a5b3352e (tree)
parent c7136d536dddf968b3a84fc69111b38cf9fdb95f
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date:   Mon,  5 Aug 2024 19:07:06 +0300

vno1-gdrx: add btrfssnapshot

Diffstat:
Mhosts/vno1-gdrx/configuration.nix | 40+++++++++++++++++-----------------------
1 file changed, 17 insertions(+), 23 deletions(-)

diff --git a/hosts/vno1-gdrx/configuration.nix b/hosts/vno1-gdrx/configuration.nix @@ -79,29 +79,23 @@ in group = "users"; }; - #btrfssnapshot = { - # enable = true; - # subvolumes = [ - # { - # subvolume = "/home"; - # label = "5minutely"; - # keep = 12; - # refreshInterval = "*:0/5"; - # } - # { - # subvolume = "/home"; - # label = "hourly"; - # keep = 24; - # refreshInterval = "*:00:00"; - # } - # ]; - #}; - - #wifibackup = { - # enable = true; - # toPath = "/home/${config.mj.username}/M-Active/.wifi"; - # toUser = config.mj.username; - #}; + btrfssnapshot = { + enable = true; + subvolumes = [ + { + subvolume = "/home"; + label = "5minutely"; + keep = 12; + refreshInterval = "*:0/5"; + } + { + subvolume = "/home"; + label = "hourly"; + keep = 24; + refreshInterval = "*:00:00"; + } + ]; + }; remote-builder.client = let