From 15ad934550dfd65f04bddf23f66e2ecce712e98a Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 5 Jan 2023 10:56:35 +0800 Subject: [PATCH] hosts/plover: set hardware config for Hetzner Cloud --- hosts/plover/hardware-configuration.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hosts/plover/hardware-configuration.nix b/hosts/plover/hardware-configuration.nix index 60d43019..7d118051 100644 --- a/hosts/plover/hardware-configuration.nix +++ b/hosts/plover/hardware-configuration.nix @@ -8,6 +8,17 @@ fileSystems."/" = lib.mkOverride 2000 { label = "nixos"; fsType = "ext4"; - autoResize = true; + options = [ "defaults" ]; }; + + fileSystems."/boot" = lib.mkOverride 2000 { + label = "boot"; + fsType = "vfat"; + }; + + swapDevices = [{ + label = "swap"; + options = [ "defaults" ]; + priority = 5; + }]; }