From 951726c6ee34d3b9733d739dba3c4ee3c873bc7b Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 11 Feb 2025 00:01:35 +0100 Subject: corrino: libvirtnix, formatted --- nix/hosts/corrino/vm.nix | 77 ++++++++++++++++++++++++------------------------ 1 file changed, 38 insertions(+), 39 deletions(-) (limited to 'nix/hosts/corrino') diff --git a/nix/hosts/corrino/vm.nix b/nix/hosts/corrino/vm.nix index 7fcf4af..37d1356 100644 --- a/nix/hosts/corrino/vm.nix +++ b/nix/hosts/corrino/vm.nix @@ -1,43 +1,42 @@ { pkgs, ... }: { - services.emile.libvirtnix = { - enable = true; - instances = { - - vm1 = { - domain = { - name = "VM1"; - title = "vm one"; - description = "The first VM"; - id = 1; - - uuid = "E34DE478-1402-45BB-B3FD-FC960549258E"; - genid = "CA1E2462-1E9D-404C-8DDB-19EEF9D9651B"; - - packages = { - libvirt = pkgs.libvirt; - qemu = pkgs.qemu; - }; - memory = 1024; - }; - }; - - vm2 = { - domain = { - name = "VM2"; - title = "vm one"; - description = "The second VM"; - id = 2; - - uuid = "E34DE478-1402-45BB-B3FD-FC960549258E"; - genid = "002D0D8F-B21A-4001-92BF-2313707EED9D"; - - memory = 2048; - }; - }; - - }; - }; + services.emile.libvirtnix = { + enable = true; + instances = { + + vm1 = { + domain = { + name = "VM1"; + title = "vm one"; + description = "The first VM"; + id = 1; + + uuid = "E34DE478-1402-45BB-B3FD-FC960549258E"; + genid = "CA1E2462-1E9D-404C-8DDB-19EEF9D9651B"; + + packages = { + libvirt = pkgs.libvirt; + qemu = pkgs.qemu; + }; + memory = 1024; + }; + }; + + vm2 = { + domain = { + name = "VM2"; + title = "vm one"; + description = "The second VM"; + id = 2; + + uuid = "E34DE478-1402-45BB-B3FD-FC960549258E"; + genid = "002D0D8F-B21A-4001-92BF-2313707EED9D"; + + memory = 2048; + }; + }; + + }; + }; } - -- cgit 1.4.1