feat: move /home and /opt to cephfs and tweak mounts

This commit is contained in:
2025-09-23 12:11:53 +02:00
parent 8894339216
commit 82a5328d7f
5 changed files with 70 additions and 75 deletions

View File

@@ -47,7 +47,7 @@ in {
mounts = {
rdma.enable = false;
automount.enable = true;
users = true;
users = false;
opt = true;
work = true;
data = true;
@@ -320,6 +320,19 @@ in {
"--advertise-routes=172.16.239.0/24,172.16.238.0/24"
];
};
services.networkd-dispatcher = {
enable = true;
rules = {
"tailscale-router" = {
onState = [ "routable" ];
script = ''
#!${pkgs.runtimeShell}
${pkgs.ethtool}/bin/ethtool -K enp65s0np0 rx-udp-gro-forwarding on rx-gro-list off
exit 0
'';
};
};
};
imports = [
./hardware-configuration.nix