expand zfs pool on boot

This commit is contained in:
Motiejus Jakštys 2023-01-04 09:55:05 +02:00
parent 57289b9c7f
commit 9f8bc58439

View File

@ -32,6 +32,7 @@ let ssh_pubkeys = {
services.zfs.autoScrub.enable = true; services.zfs.autoScrub.enable = true;
services.zfs.trim.enable = true; services.zfs.trim.enable = true;
services.zfs.expandOnBoot = "all";
networking.hostName = "hel1-a"; networking.hostName = "hel1-a";
time.timeZone = "UTC"; time.timeZone = "UTC";
@ -158,6 +159,8 @@ let ssh_pubkeys = {
programs.mosh.enable = true; programs.mosh.enable = true;
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.allowedUDPPorts = [ 443 ]; networking.firewall.allowedUDPPorts = [ 443 ];
# tailscale insists on this
networking.firewall.checkReversePath = "loose";
system.copySystemConfiguration = true; system.copySystemConfiguration = true;