From c5a78751f96587bf4a3704143ac81598ee6c3e5b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 18 Mar 2023 11:58:35 -0700 Subject: hosts/carmel: reconfigure the host as a router I'm not using it as a desktop, and the current router is getting old and will likely fail in the near future. It's also a debian machine configured manually, so let's reconfigure carmel as our new router. There are three NICs in the host: 2 are 10Gb and one is 1Gb. The 1Gb will be used as the upstream interface, and one of the 10Gb will be for the LAN. There are 2 VLANs to configure: one for IoT devices and one for guest. --- hosts/tahoe/hardware.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hosts/tahoe') diff --git a/hosts/tahoe/hardware.nix b/hosts/tahoe/hardware.nix index 34c278b..dbfffff 100644 --- a/hosts/tahoe/hardware.nix +++ b/hosts/tahoe/hardware.nix @@ -17,6 +17,7 @@ options = [ "subvol=nixos" ]; }; + boot.initrd.luks.devices."system".allowDiscards = true; boot.initrd.luks.devices."system".device = "/dev/disk/by-uuid/0d11e090-d88f-4313-8a41-8ef52eea0870"; @@ -61,6 +62,8 @@ my.hardware.amd.enable = true; + my.systems.btrfs.enable = true; + # high-resolution display hardware.video.hidpi.enable = lib.mkDefault true; -- cgit 1.4.1