From 7f764265e14e72c0f2f39e9a106fb4600fbda7b3 Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Fri, 28 Jun 2024 00:46:31 +0800 Subject: [PATCH] feat(g18-next): switch from nfs to vdisk --- hosts/g18-next/configuration.nix | 2 +- hosts/g18-next/hardware-configuration.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/g18-next/configuration.nix b/hosts/g18-next/configuration.nix index 01f8fa5..a5cb969 100644 --- a/hosts/g18-next/configuration.nix +++ b/hosts/g18-next/configuration.nix @@ -34,7 +34,7 @@ in DHCP = "no"; IPv6AcceptRA = true; }; - address = [ "192.168.122.118/24" ]; + address = [ "192.168.122.118/24" "192.168.122.215/24" ]; routes = [ { routeConfig = { diff --git a/hosts/g18-next/hardware-configuration.nix b/hosts/g18-next/hardware-configuration.nix index 782f319..63d5d45 100644 --- a/hosts/g18-next/hardware-configuration.nix +++ b/hosts/g18-next/hardware-configuration.nix @@ -25,8 +25,8 @@ }; fileSystems."/data0" = - { device = "192.168.122.1:/data0"; - fsType = "nfs"; + { device = "/dev/disk/by-uuid/9140a5e0-e875-497c-8457-187b3905ddaa"; + fsType = "ext4"; }; swapDevices =