feat: moved logs to impermanence
This commit is contained in:
parent
adc1c1a918
commit
a0807b014c
1 changed files with 6 additions and 7 deletions
|
|
@ -53,13 +53,6 @@ in {
|
|||
relatime = "off";
|
||||
};
|
||||
};
|
||||
replicate = {
|
||||
"system/var/log" = {
|
||||
impermanence.enable = false;
|
||||
type = "zfs_fs";
|
||||
mount = "/var/log";
|
||||
};
|
||||
};
|
||||
};
|
||||
})
|
||||
(lib.mkIf (config.storage.zfs.enable && config.storage.impermanence.enable) {
|
||||
|
|
@ -107,6 +100,12 @@ in {
|
|||
autoSnapshot = true;
|
||||
};
|
||||
};
|
||||
"system/var/log" = {
|
||||
type = "zfs_fs";
|
||||
directories = {
|
||||
"/var/log".enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue