mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 06: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 =
|
default =
|
||||||
(lib.optional (config.mountpoint != null) {
|
(lib.optional (config.mountpoint != null) {
|
||||||
fileSystems.${config.mountpoint} = {
|
fileSystems.${config.mountpoint} = {
|
||||||
device = "UUID=${config.uuid}";
|
device = "/dev/disk/by-uuid/${config.uuid}";
|
||||||
fsType = "bcachefs";
|
fsType = "bcachefs";
|
||||||
options = lib.unique ([ "X-mount.mkdir" ] ++ config.mountOptions);
|
options = lib.unique ([ "X-mount.mkdir" ] ++ config.mountOptions);
|
||||||
neededForBoot = true;
|
neededForBoot = true;
|
||||||
@@ -311,7 +311,7 @@
|
|||||||
})
|
})
|
||||||
++ (map (subvolume: {
|
++ (map (subvolume: {
|
||||||
fileSystems.${subvolume.mountpoint} = {
|
fileSystems.${subvolume.mountpoint} = {
|
||||||
device = "UUID=${config.uuid}";
|
device = "/dev/disk/by-uuid/${config.uuid}";
|
||||||
fsType = "bcachefs";
|
fsType = "bcachefs";
|
||||||
options = lib.unique (
|
options = lib.unique (
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in new issue
Block a user