aboutsummaryrefslogtreecommitdiff
path: root/hosts/enode/impermenance.nix
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2026-10-26 22:05:45 +0100
committerIsabella Bastaja <isabella@sorre.xyz>2026-10-27 01:27:22 +0100
commit9c8284c94725929ac19a82b61a1b304456a1d11f (patch)
treea5ed0659e44498d38e515b01c855802b6489e3da /hosts/enode/impermenance.nix
parent05ad01612f9c75cc3e38940e52524736af1ead9d (diff)
enode: fix mounts, add kernel modules & stuff
Diffstat (limited to 'hosts/enode/impermenance.nix')
-rw-r--r--hosts/enode/impermenance.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/enode/impermenance.nix b/hosts/enode/impermenance.nix
index 20df233..437654e 100644
--- a/hosts/enode/impermenance.nix
+++ b/hosts/enode/impermenance.nix
@@ -40,17 +40,17 @@ in
# Wait for the disk to appear
requires = [
- "${utils.escapeSystemPath "/dev/disk/by-partlabel/root"}.device"
+ "dev-disk-by\\x2dpartlabel-root.device"
];
after = [
- "${utils.escapeSystemPath "/dev/disk/by-partlabel/root"}.device"
+ "dev-disk-by\\x2dpartlabel-root.device"
# Allow hibernation to resume before trying to alter any data
"local-fs-pre.target"
];
script = ''
mkdir /btrfs_tmp
- mount /dev/disk/by-label/root /btrfs_tmp
+ mount /dev/disk/by-partlabel/root /btrfs_tmp
trap 'umount /btrfs_tmp' EXIT
if [ -e /btrfs_tmp/root ]; then
mkdir -p /btrfs_tmp/old_roots