From 070a6774ec445406b83fbc4ada33f2f872b50185 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Mon, 26 Aug 2024 18:06:28 +0200 Subject: [PATCH] Remove blank btrfs auto snapshot --- hosts/nixos/calypso/filesystems/partitions.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/nixos/calypso/filesystems/partitions.nix b/hosts/nixos/calypso/filesystems/partitions.nix index 150ed91..2430910 100644 --- a/hosts/nixos/calypso/filesystems/partitions.nix +++ b/hosts/nixos/calypso/filesystems/partitions.nix @@ -33,10 +33,11 @@ type = "btrfs"; extraArgs = [ "-f" ]; + # TODO: how do we do this properly??? postCreateHook = '' # We then take an empty *readonly* snapshot of the root subvolume, # which we'll eventually rollback to on every boot. - btrfs subvolume snapshot -r /root /blank + # btrfs subvolume snapshot -r /root /blank ''; subvolumes = {