mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
fix: addresses: https://github.com/koverstreet/bcachefs/issues/812
This commit is contained in:
1 parent
b5d1320ebc
commit
8d78963819
1 file changed
+2
-2
@@ -303,7 +303,7 @@
|
||||
default =
|
||||
(lib.optional (config.mountpoint != null) {
|
||||
fileSystems.${config.mountpoint} = {
|
||||
device = "UUID=${config.uuid}";
|
||||
device = "/dev/disk/by-uuid/${config.uuid}";
|
||||
fsType = "bcachefs";
|
||||
options = lib.unique ([ "X-mount.mkdir" ] ++ config.mountOptions);
|
||||
neededForBoot = true;
|
||||
@@ -311,7 +311,7 @@
|
||||
})
|
||||
++ (map (subvolume: {
|
||||
fileSystems.${subvolume.mountpoint} = {
|
||||
device = "UUID=${config.uuid}";
|
||||
device = "/dev/disk/by-uuid/${config.uuid}";
|
||||
fsType = "bcachefs";
|
||||
options = lib.unique (
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user