From f7e00cf2e19d31b320833fba7805db7a0b6b6d0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Tue, 24 Sep 2024 16:10:12 +0200 Subject: [PATCH] Add qemu guest agent to nixmox hypervisors --- hosts/nixmox-curiosity/configuration.nix | 15 +++++++++------ hosts/nixmox-perseverance/configuration.nix | 15 +++++++++------ 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/hosts/nixmox-curiosity/configuration.nix b/hosts/nixmox-curiosity/configuration.nix index c78d4ac..8527e2b 100644 --- a/hosts/nixmox-curiosity/configuration.nix +++ b/hosts/nixmox-curiosity/configuration.nix @@ -91,13 +91,16 @@ nmap ]; - services.openssh = { - enable = true; - settings = { - PasswordAuthentication = false; - X11Forwarding = false; - PermitRootLogin = "prohibit-password"; + services = { + openssh = { + enable = true; + settings = { + PasswordAuthentication = false; + X11Forwarding = false; + PermitRootLogin = "prohibit-password"; + }; }; + qemuGuest.enable = true; }; system.stateVersion = "24.05"; # Did you read the comment? diff --git a/hosts/nixmox-perseverance/configuration.nix b/hosts/nixmox-perseverance/configuration.nix index 6f4c4fd..778d107 100644 --- a/hosts/nixmox-perseverance/configuration.nix +++ b/hosts/nixmox-perseverance/configuration.nix @@ -91,13 +91,16 @@ nmap ]; - services.openssh = { - enable = true; - settings = { - PasswordAuthentication = false; - X11Forwarding = false; - PermitRootLogin = "prohibit-password"; + services = { + openssh = { + enable = true; + settings = { + PasswordAuthentication = false; + X11Forwarding = false; + PermitRootLogin = "prohibit-password"; + }; }; + qemuGuest.enable = true; }; system.stateVersion = "24.05"; # Did you read the comment?