Update hosts/server/configuration.nix
Check NixOS configurations / eval-hosts (push) Failing after 3s
Check NixOS configurations / eval-hosts (push) Failing after 3s
This commit is contained in:
@@ -49,6 +49,16 @@
|
|||||||
autoSnapshot.enable = true;
|
autoSnapshot.enable = true;
|
||||||
trim.enable = true;
|
trim.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.zfs-import-cache.enable = true;
|
||||||
|
systemd.services.zfs-mount.enable = true;
|
||||||
|
boot.zfs.devNodes = "/dev/disk/by-id";
|
||||||
|
|
||||||
|
systemd.services.nfs-server = {
|
||||||
|
after = [ "zfs-mount.service" ];
|
||||||
|
requires = [ "zfs-mount.service" ];
|
||||||
|
};
|
||||||
|
|
||||||
services.nfs.server = {
|
services.nfs.server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
exports = ''
|
exports = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user