diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/vidhar/network/default.nix | 9 | ||||
-rw-r--r-- | hosts/vidhar/network/dhcp/default.nix | 5 | ||||
-rw-r--r-- | hosts/vidhar/paperless/default.nix | 2 |
3 files changed, 12 insertions, 4 deletions
diff --git a/hosts/vidhar/network/default.nix b/hosts/vidhar/network/default.nix index 0643f0bb..92d755f3 100644 --- a/hosts/vidhar/network/default.nix +++ b/hosts/vidhar/network/default.nix | |||
@@ -103,7 +103,14 @@ with lib; | |||
103 | /srv/nfs/nix-store 10.141.0.0/24(ro,async,root_squash) 2a03:4000:52:ada:1::/80(ro,async,root_squash) | 103 | /srv/nfs/nix-store 10.141.0.0/24(ro,async,root_squash) 2a03:4000:52:ada:1::/80(ro,async,root_squash) |
104 | ''; | 104 | ''; |
105 | }; | 105 | }; |
106 | settings.nfsd.vers3 = false; | 106 | settings.nfsd = { |
107 | rdma = true; | ||
108 | vers3 = false; | ||
109 | vers4 = true; | ||
110 | "vers4.0" = false; | ||
111 | "vers4.1" = false; | ||
112 | "vers4.2" = true; | ||
113 | }; | ||
107 | }; | 114 | }; |
108 | 115 | ||
109 | fileSystems = { | 116 | fileSystems = { |
diff --git a/hosts/vidhar/network/dhcp/default.nix b/hosts/vidhar/network/dhcp/default.nix index f36d0c7f..098d3061 100644 --- a/hosts/vidhar/network/dhcp/default.nix +++ b/hosts/vidhar/network/dhcp/default.nix | |||
@@ -5,6 +5,7 @@ with lib; | |||
5 | let | 5 | let |
6 | nfsrootBaseUrl = "http://nfsroot.vidhar.yggdrasil"; | 6 | nfsrootBaseUrl = "http://nfsroot.vidhar.yggdrasil"; |
7 | tftpIp = "10.141.0.1"; | 7 | tftpIp = "10.141.0.1"; |
8 | nfsIp = tftpIp; | ||
8 | ipxe = pkgs.ipxe.override { | 9 | ipxe = pkgs.ipxe.override { |
9 | additionalTargets = { | 10 | additionalTargets = { |
10 | "bin-i386-efi/ipxe.efi" = "i386-ipxe.efi"; | 11 | "bin-i386-efi/ipxe.efi" = "i386-ipxe.efi"; |
@@ -309,7 +310,7 @@ in { | |||
309 | installerBuild = (flake.nixosConfigurations.${"installer-${system}-nfsroot"}.extendModules { | 310 | installerBuild = (flake.nixosConfigurations.${"installer-${system}-nfsroot"}.extendModules { |
310 | modules = [ | 311 | modules = [ |
311 | ({ ... }: { | 312 | ({ ... }: { |
312 | config.nfsroot.storeDevice = "${tftpIp}:nix-store"; | 313 | config.nfsroot.storeDevice = "${nfsIp}:nix-store"; |
313 | config.nfsroot.registrationUrl = "${nfsrootBaseUrl}/installer-${system}/registration"; | 314 | config.nfsroot.registrationUrl = "${nfsrootBaseUrl}/installer-${system}/registration"; |
314 | }) | 315 | }) |
315 | ]; | 316 | ]; |
@@ -369,7 +370,7 @@ in { | |||
369 | eostreBuild = (flake.nixosConfigurations.eostre.extendModules { | 370 | eostreBuild = (flake.nixosConfigurations.eostre.extendModules { |
370 | modules = [ | 371 | modules = [ |
371 | ({ ... }: { | 372 | ({ ... }: { |
372 | config.nfsroot.storeDevice = "${tftpIp}:nix-store"; | 373 | config.nfsroot.storeDevice = "${nfsIp}:nix-store"; |
373 | config.nfsroot.registrationUrl = "${nfsrootBaseUrl}/eostre/registration"; | 374 | config.nfsroot.registrationUrl = "${nfsrootBaseUrl}/eostre/registration"; |
374 | }) | 375 | }) |
375 | ]; | 376 | ]; |
diff --git a/hosts/vidhar/paperless/default.nix b/hosts/vidhar/paperless/default.nix index 34cd18c4..dd02da38 100644 --- a/hosts/vidhar/paperless/default.nix +++ b/hosts/vidhar/paperless/default.nix | |||
@@ -4,7 +4,7 @@ | |||
4 | config = { | 4 | config = { |
5 | services.paperless = { | 5 | services.paperless = { |
6 | enable = true; | 6 | enable = true; |
7 | address = "[2a03:4000:52:ada:4:1::]"; | 7 | address = "2a03:4000:52:ada:4:1::"; |
8 | passwordFile = config.sops.secrets."paperless-rootpw".path; | 8 | passwordFile = config.sops.secrets."paperless-rootpw".path; |
9 | settings = { | 9 | settings = { |
10 | PAPERLESS_OCR_LANGUAGE = "deu+eng"; | 10 | PAPERLESS_OCR_LANGUAGE = "deu+eng"; |