1
Fork 0

Fix changed partition names

This commit is contained in:
prescientmoon 2024-08-27 16:36:17 +02:00
parent b95a4e55c2
commit c217465409
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
2 changed files with 7 additions and 8 deletions

View file

@ -32,7 +32,6 @@
after = [ "systemd-cryptsetup@enc.service" ]; after = [ "systemd-cryptsetup@enc.service" ];
before = [ "sysroot.mount" ]; before = [ "sysroot.mount" ];
script = '' script = ''
ls /
btrfs subvolume delete / btrfs subvolume delete /
btrfs subvolume create / btrfs subvolume create /
''; '';

View file

@ -35,7 +35,7 @@
subvolumes = { subvolumes = {
# {{{ / # {{{ /
"root" = { "/root" = {
mountpoint = "/"; mountpoint = "/";
mountOptions = [ mountOptions = [
"compress=zstd" "compress=zstd"
@ -44,13 +44,13 @@
}; };
# }}} # }}}
# {{{ /swap # {{{ /swap
"swap" = { "/swap" = {
mountpoint = "/.swapvol"; mountpoint = "/.swapvol";
swap.swapfile.size = "20G"; swap.swapfile.size = "20G";
}; };
# }}} # }}}
# {{{ /persist/data # {{{ /persist/data
"persist-data" = { "/root/persist/data" = {
mountpoint = "/persist/data"; mountpoint = "/persist/data";
mountOptions = [ mountOptions = [
"compress=zstd" "compress=zstd"
@ -59,7 +59,7 @@
}; };
# }}} # }}}
# {{{ /persist/state # {{{ /persist/state
"persist-state" = { "/root/persist/state" = {
mountpoint = "/persist/state"; mountpoint = "/persist/state";
mountOptions = [ mountOptions = [
"compress=zstd" "compress=zstd"
@ -68,7 +68,7 @@
}; };
# }}} # }}}
# {{{ /local/nix # {{{ /local/nix
"local-nix" = { "/root/local/nix" = {
mountpoint = "/nix"; mountpoint = "/nix";
mountOptions = [ mountOptions = [
"compress=zstd" "compress=zstd"
@ -76,8 +76,8 @@
]; ];
}; };
# }}} # }}}
# {{{ /local/nix # {{{ /local/cache
"local-cache" = { "/root/local/cache" = {
mountpoint = "/persist/local/cache"; mountpoint = "/persist/local/cache";
mountOptions = [ mountOptions = [
"compress=zstd" "compress=zstd"