fixes
This commit is contained in:
parent
89635578ef
commit
2a961aaa91
2 changed files with 10 additions and 8 deletions
|
@ -21,6 +21,7 @@
|
|||
# Enable modules
|
||||
modules.garage.enable = true;
|
||||
modules.forgejo.enable = true;
|
||||
modules.immich.enable = true;
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
|
@ -80,22 +81,23 @@
|
|||
wants = [ "systemd-udev-settle.service" ];
|
||||
};
|
||||
|
||||
systemd.mounts = [
|
||||
{
|
||||
systemd.mounts = [{
|
||||
what = "garage";
|
||||
where = "/garage";
|
||||
type = "zfs";
|
||||
after = [ "zfs-import-scan.service" ];
|
||||
wants = [ "zfs-import-scan.service" ];
|
||||
}
|
||||
{
|
||||
} {
|
||||
what = "storage";
|
||||
where = "/storage";
|
||||
type = "zfs";
|
||||
after = [ "zfs-import-scan.service" ];
|
||||
wants = [ "zfs-import-scan.service" ];
|
||||
}
|
||||
];
|
||||
}];
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /storage/immich 0755 immich immich -"
|
||||
];
|
||||
|
||||
services.zfs.autoScrub.enable = true;
|
||||
services.zfs.trim.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue