From 9b5d9cbd018ed5afa06dc0915d9bfac8e4cab5d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 6 Dec 2024 07:47:48 +0200 Subject: [PATCH] vno3-nk: enable btrfssnapshot --- hosts/vno3-nk/configuration.nix | 46 ++++++++++++--------------------- 1 file changed, 17 insertions(+), 29 deletions(-) diff --git a/hosts/vno3-nk/configuration.nix b/hosts/vno3-nk/configuration.nix index 69bdb93..a4c4d91 100644 --- a/hosts/vno3-nk/configuration.nix +++ b/hosts/vno3-nk/configuration.nix @@ -165,35 +165,23 @@ in # ]; #}; - #btrfssnapshot = { - # enable = true; - # subvolumes = [ - # { - # subvolume = "/home"; - # label = "hourly"; - # keep = 24; - # refreshInterval = "*:00:00"; - # } - # { - # subvolume = "/home"; - # label = "nightly"; - # keep = 7; - # refreshInterval = "daily UTC"; - # } - # { - # subvolume = "/var/lib"; - # label = "hourly"; - # keep = 24; - # refreshInterval = "*:00:00"; - # } - # { - # subvolume = "/var/lib"; - # label = "nightly"; - # keep = 7; - # refreshInterval = "daily UTC"; - # } - # ]; - #}; + btrfssnapshot = { + enable = true; + subvolumes = [ + { + subvolume = "/data"; + label = "hourly"; + keep = 24; + refreshInterval = "*:00:00"; + } + { + subvolume = "/data"; + label = "nightly"; + keep = 7; + refreshInterval = "daily UTC"; + } + ]; + }; remote-builder.client = let