From dc30b07bf99776b8d4cdfa244580940a34d90466 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Thu, 22 Aug 2024 14:33:39 +0200 Subject: [PATCH] sj-srv1: configure libvirt and external filesystem --- nix/os/devices/sj-srv1/system.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nix/os/devices/sj-srv1/system.nix b/nix/os/devices/sj-srv1/system.nix index b862faa..bd23a9e 100644 --- a/nix/os/devices/sj-srv1/system.nix +++ b/nix/os/devices/sj-srv1/system.nix @@ -121,6 +121,14 @@ }; }; + virtualisation.libvirtd = { + enable = true; + onShutdown = "shutdown"; + parallelShutdown = 3; + }; + + fileSystems."/mnt/8078-532D".device = "/dev/disk/by-uuid/8078-532D"; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave