aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/laurel/configuration.nix3
-rw-r--r--hosts/mantis/hardware-configuration.nix18
2 files changed, 14 insertions, 7 deletions
diff --git a/hosts/laurel/configuration.nix b/hosts/laurel/configuration.nix
index 8dce03f..74e2948 100644
--- a/hosts/laurel/configuration.nix
+++ b/hosts/laurel/configuration.nix
@@ -93,9 +93,8 @@
93 proxyPass = "http://127.0.0.1:${builtins.toString config.services.invidious.port}"; 93 proxyPass = "http://127.0.0.1:${builtins.toString config.services.invidious.port}";
94 proxyWebsockets = true; 94 proxyWebsockets = true;
95 extraConfig = '' 95 extraConfig = ''
96 proxySetHeader X-Forwarded-For $remote_addr; 96 proxy_set_header X-Forwarded-For $remote_addr;
97 proxy_set_header Host $host; # so Invidious knows domain 97 proxy_set_header Host $host; # so Invidious knows domain
98 proxy_http_version 1.1; # to keep alive
99 proxy_set_header Connection ""; # to keep alive 98 proxy_set_header Connection ""; # to keep alive
100 ''; 99 '';
101 }; 100 };
diff --git a/hosts/mantis/hardware-configuration.nix b/hosts/mantis/hardware-configuration.nix
index 8d7f39a..6afcb08 100644
--- a/hosts/mantis/hardware-configuration.nix
+++ b/hosts/mantis/hardware-configuration.nix
@@ -5,7 +5,8 @@
5 5
6{ 6{
7 imports = 7 imports =
8 [ (modulesPath + "/installer/scan/not-detected.nix") 8 [
9 (modulesPath + "/installer/scan/not-detected.nix")
9 ]; 10 ];
10 11
11 boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; 12 boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
@@ -14,18 +15,25 @@
14 boot.extraModulePackages = [ ]; 15 boot.extraModulePackages = [ ];
15 16
16 fileSystems."/" = 17 fileSystems."/" =
17 { device = "/dev/disk/by-uuid/e3eda8a2-b5fe-4458-988c-48579a7cc6c6"; 18 {
19 device = "/dev/disk/by-uuid/e3eda8a2-b5fe-4458-988c-48579a7cc6c6";
20 fsType = "ext4";
21 };
22
23 fileSystems."/servarr" =
24 {
25 device = "/dev/sdb";
18 fsType = "ext4"; 26 fsType = "ext4";
19 }; 27 };
20 28
21 fileSystems."/boot" = 29 fileSystems."/boot" =
22 { device = "/dev/disk/by-uuid/A170-EC57"; 30 {
31 device = "/dev/disk/by-uuid/A170-EC57";
23 fsType = "vfat"; 32 fsType = "vfat";
24 }; 33 };
25 34
26 swapDevices = 35 swapDevices =
27 [ { device = "/dev/disk/by-uuid/61cb6a91-b916-40b9-b231-c04378629d90"; } 36 [{ device = "/dev/disk/by-uuid/61cb6a91-b916-40b9-b231-c04378629d90"; }];
28 ];
29 37
30 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 38 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
31 # (the default) this is the recommended approach. When using systemd-networkd it's 39 # (the default) this is the recommended approach. When using systemd-networkd it's