From 5448b77232cd4471704d557b4fb06f59a313970e Mon Sep 17 00:00:00 2001 From: Dict Xiong Date: Sat, 15 Jun 2024 12:46:30 +0800 Subject: [PATCH] feat(g17): complete --- hosts/g17/configuration.nix | 4 ++-- hosts/g17/hardware-configuration.nix | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts/g17/configuration.nix b/hosts/g17/configuration.nix index 788a1e4..c7c34b8 100644 --- a/hosts/g17/configuration.nix +++ b/hosts/g17/configuration.nix @@ -11,8 +11,8 @@ gSeries = { enable = true; serial = 17; - eth0Name = "eno1"; - eth1Name = "eno2"; + eth0Name = "eno2"; + eth1Name = "eno1"; eth2Name = "eno4"; }; }; diff --git a/hosts/g17/hardware-configuration.nix b/hosts/g17/hardware-configuration.nix index ecbca4e..809e083 100644 --- a/hosts/g17/hardware-configuration.nix +++ b/hosts/g17/hardware-configuration.nix @@ -24,6 +24,11 @@ options = [ "fmask=0022" "dmask=0022" ]; }; + fileSystems."/home2" = + { device = "home2"; + fsType = "zfs"; + }; + swapDevices = [ { device = "/dev/disk/by-uuid/e4841a52-0280-4cbe-9cf8-34b7cb9f8b0c"; } ];