aboutsummaryrefslogtreecommitdiff
path: root/hosts/enode
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/enode')
-rw-r--r--hosts/enode/impermenance.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/hosts/enode/impermenance.nix b/hosts/enode/impermenance.nix
index c15ea85..3401e8e 100644
--- a/hosts/enode/impermenance.nix
+++ b/hosts/enode/impermenance.nix
@@ -1,6 +1,6 @@
{ utils, ... }: {
- # Use /persist as the persistence root, matching Disko's mountpoint
- environment.persistence."/persist" = {
+ # Use /var/lib/persist as the persistence root, matching Disko's mountpoint
+ environment.persistence."/var/lib/persist" = {
hideMounts = true;
directories = [
"/var/lib/nixos"
@@ -33,10 +33,10 @@
# Wait for the disk to appear
requires = [
- "${utils.escapeSystemPath "/dev/disk/by-label/root"}.device"
+ "${utils.escapeSystemPath "/dev/disk/by-partlabel/root"}.device"
];
after = [
- "${utils.escapeSystemPath "/dev/disk/by-label/root"}.device"
+ "${utils.escapeSystemPath "/dev/disk/by-partlabel/root"}.device"
# Allow hibernation to resume before trying to alter any data
"local-fs-pre.target"
];