From 9a13d82a1597daf36fa61ad58314824f2ef6f1c2 Mon Sep 17 00:00:00 2001 From: tbarnouin Date: Tue, 17 Sep 2024 18:32:10 +0200 Subject: [PATCH] Fix second hypervisor --- hosts/nixmox-curiosity/configuration.nix | 2 +- hosts/nixmox-curiosity/hardware-configuration.nix | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/hosts/nixmox-curiosity/configuration.nix b/hosts/nixmox-curiosity/configuration.nix index 0495c33..c78d4ac 100644 --- a/hosts/nixmox-curiosity/configuration.nix +++ b/hosts/nixmox-curiosity/configuration.nix @@ -1,6 +1,6 @@ { config, lib, pkgs, ... }: -{ #imports = [ ./hardware-configuration.nix ]; +{ imports = [ ./hardware-configuration.nix ]; nix = { settings = { diff --git a/hosts/nixmox-curiosity/hardware-configuration.nix b/hosts/nixmox-curiosity/hardware-configuration.nix index ae708dc..f1d478b 100644 --- a/hosts/nixmox-curiosity/hardware-configuration.nix +++ b/hosts/nixmox-curiosity/hardware-configuration.nix @@ -38,8 +38,14 @@ device = "/dev/disk/by-label/ESP"; fsType = "vfat"; }; + + "/var/lib/microvms" = { + device = "/dev/vdb1"; + fsType = "ext4"; + }; }; + services.fstrim = { enable = true; interval = "weekly";