From d8dbb129598e1fc5635c20a43f3da466ce531519 Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Sat, 11 Feb 2023 19:01:42 -0700 Subject: [PATCH] grow disk for ponyo --- machines/ponyo/hardware-configuration.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/machines/ponyo/hardware-configuration.nix b/machines/ponyo/hardware-configuration.nix index 82a83e7..14443d3 100644 --- a/machines/ponyo/hardware-configuration.nix +++ b/machines/ponyo/hardware-configuration.nix @@ -19,6 +19,7 @@ remoteLuksUnlock.enable = true; boot.initrd.luks.devices."enc-pv".device = "/dev/disk/by-uuid/4cc36be4-dbff-4afe-927d-69bf4637bae2"; + boot.initrd.luks.devices."enc-pv2".device = "/dev/disk/by-uuid/e52b01b3-81c8-4bb2-ae7e-a3d9c793cb00"; # expanded disk fileSystems."/" = { device = "/dev/mapper/enc-pv"; @@ -37,11 +38,5 @@ } ]; - # The global useDHCP flag is deprecated, therefore explicitly set to false here. - # Per-interface useDHCP will be mandatory in the future, so this generated config - # replicates the default behaviour. - networking.useDHCP = lib.mkDefault false; - networking.interfaces.eth0.useDHCP = lib.mkDefault true; - - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + networking.interfaces.eth0.useDHCP = true; } \ No newline at end of file