lib/disko: legacy mount zfs filesystems
This commit is contained in:
parent
bed9bb6b56
commit
6faae34501
1 changed files with 3 additions and 1 deletions
|
@ -75,6 +75,7 @@ rec {
|
||||||
mode = "raidz";
|
mode = "raidz";
|
||||||
mountpoint = "/media/${name}";
|
mountpoint = "/media/${name}";
|
||||||
rootFsOptions = {
|
rootFsOptions = {
|
||||||
|
mountpoint = "legacy";
|
||||||
compression = "zstd";
|
compression = "zstd";
|
||||||
atime = "off";
|
atime = "off";
|
||||||
};
|
};
|
||||||
|
@ -84,7 +85,8 @@ rec {
|
||||||
|
|
||||||
mkZfs' = mountOptions: mountpoint: options: {
|
mkZfs' = mountOptions: mountpoint: options: {
|
||||||
type = "zfs_fs";
|
type = "zfs_fs";
|
||||||
inherit mountpoint mountOptions options;
|
inherit mountpoint mountOptions;
|
||||||
|
options = { mountpoint = "legacy"; } // options;
|
||||||
};
|
};
|
||||||
mkZfs = mkZfs' defaultMountOptions;
|
mkZfs = mkZfs' defaultMountOptions;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue