Remove blank btrfs auto snapshot
This commit is contained in:
parent
c4c41ff68a
commit
070a6774ec
|
@ -33,10 +33,11 @@
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
extraArgs = [ "-f" ];
|
extraArgs = [ "-f" ];
|
||||||
|
|
||||||
|
# TODO: how do we do this properly???
|
||||||
postCreateHook = ''
|
postCreateHook = ''
|
||||||
# We then take an empty *readonly* snapshot of the root subvolume,
|
# We then take an empty *readonly* snapshot of the root subvolume,
|
||||||
# which we'll eventually rollback to on every boot.
|
# which we'll eventually rollback to on every boot.
|
||||||
btrfs subvolume snapshot -r /root /blank
|
# btrfs subvolume snapshot -r /root /blank
|
||||||
'';
|
'';
|
||||||
|
|
||||||
subvolumes = {
|
subvolumes = {
|
||||||
|
|
Loading…
Reference in a new issue