fix: fixed trailing mount path issue
This commit is contained in:
parent
2922114367
commit
a4f3b3141d
4 changed files with 17 additions and 4 deletions
|
|
@ -43,6 +43,7 @@ in {
|
|||
storage.datasets = {
|
||||
local = {
|
||||
"nix" = {
|
||||
impermanence.enable = false;
|
||||
type = "zfs_fs";
|
||||
mount = "/nix";
|
||||
snapshot = {
|
||||
|
|
@ -54,6 +55,7 @@ in {
|
|||
};
|
||||
replicate = {
|
||||
"system/var/log" = {
|
||||
impermanence.enable = false;
|
||||
type = "zfs_fs";
|
||||
mount = "/var/log";
|
||||
};
|
||||
|
|
@ -78,13 +80,13 @@ in {
|
|||
# TODO: can we auto set the mount points on these to just be `"/persist/local/${name}"`
|
||||
local = {
|
||||
"" = {
|
||||
mount = "/persist/local/";
|
||||
mount = "/persist/local";
|
||||
};
|
||||
};
|
||||
# TODO: can we auto set the mount points on these to just be `"/persist/replicate/${name}"`
|
||||
replicate = {
|
||||
"" = {
|
||||
mount = "/persist/replicate/";
|
||||
mount = "/persist/replicate";
|
||||
};
|
||||
"system/root" = {
|
||||
mount = "/persist/replicate/system/root";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue