hosts: server: fix initial mistakes and add pub

This commit is contained in:
2024-04-02 11:49:46 +02:00
parent 9de2d29400
commit 62ac639d08
3 changed files with 12 additions and 3 deletions

View File

@@ -78,6 +78,12 @@
options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@srv,discard=async" ];
};
fileSystems."/var" =
{ device = "/dev/disk/by-label/NIXROOT";
fsType = "btrfs";
options = [ "space_cache=v2,ssd,noatime,subvol=@var,discard=async" ];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-label/NIXROOT";
fsType = "btrfs";
@@ -115,12 +121,12 @@
prefixLength = 24;
} ];
ipv6.addresses = [ {
address = "2a13:7e80:0:ef::";
address = "2a13:7e80:0:ef::2";
prefixLength = 64;
} ];
};
};
defaultGateway = "37.44.215.182";
defaultGateway = "37.44.215.1";
defaultGateway6 = {
address = "fe80::1";
interface = "ens18";