diff --git a/home/syncthing/default.nix b/home/syncthing/default.nix new file mode 100644 index 0000000..e69de29 diff --git a/nixos/common.nix b/nixos/common.nix index 1c8fe71..77541b8 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -110,8 +110,23 @@ }; services.snapper.configs = { - persist.subvolume = "/persist"; - data.subvolume = "/data"; + persist = { + subvolume = "/persist"; + fstype = "btrfs"; + extraConfig = '' + TIMELINE_CREATE=yes + TIMELINE_CLEANUP=yes + ''; + }; + data = { + subvolume = "/data"; + fstype = "btrfs"; + extraConfig = '' + TIMELINE_CREATE=yes + TIMELINE_CLEANUP=yes + ''; + + }; }; security.doas = {