updated config for new ZFS/NFS shares
Check NixOS configurations / eval-hosts (push) Successful in 39m58s

This commit is contained in:
git
2026-07-01 16:59:55 +10:00
parent f008c16ea7
commit ae4c3dba24
3 changed files with 28 additions and 4 deletions
+3
View File
@@ -18,6 +18,7 @@ in
../../modules/nix/cache-client.nix
../../modules/nix/remote-builder-client.nix
../../modules/nix/mount-docker-config.nix
../../modules/nix/mount-docker-volumes.nix
];
# nixpkgs.config.permittedInsecurePackages = [
@@ -25,6 +26,8 @@ in
# ];
networking.hostName = "docker"; # Define your hostname.
networking.hostId = "007f0200";
boot.zfs.forceImportRoot = false;
# virtualisation.docker.enable = true;
virtualisation.docker = {
enable = true;
+10 -4
View File
@@ -2,8 +2,14 @@
{
fileSystems."/zfs-config" = {
device = "tank/docker/config";
fsType = "zfs";
options = [ "zfsutil" ];
device = "server:/tank/docker/config";
fsType = "nfs";
options = [
"nfsvers=4.2"
"_netdev"
"x-systemd.automount"
"noatime"
];
};
}
}
+15
View File
@@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
{
fileSystems."/zfs-volumes" = {
device = "server:/tank/docker/volumes";
fsType = "nfs";
options = [
"nfsvers=4.2"
"_netdev"
"x-systemd.automount"
"noatime"
];
};
}