From b39a3de4f2963f747149f5822a890783e58559bf Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 17 Jul 2024 07:18:25 +0300 Subject: guix: system: Add virtualization & kvm support --- guix/system-create.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'guix') diff --git a/guix/system-create.scm b/guix/system-create.scm index 363e303..de30368 100644 --- a/guix/system-create.scm +++ b/guix/system-create.scm @@ -15,7 +15,7 @@ #:export (system-create)) (use-service-modules cups desktop networking ssh xorg docker guix - admin pm docker) + admin pm docker virtualization) (use-package-modules nfs certs shells ssh linux bash emacs networking wm fonts libusb cups freedesktop file-systems version-control @@ -52,7 +52,7 @@ (comment "Thanos Apollo") (group "users") (home-directory "/home/thanos") - (supplementary-groups '("wheel" "netdev" "audio" "video" "docker"))) + (supplementary-groups '("wheel" "netdev" "audio" "video" "docker" "kvm"))) %base-user-accounts)) ;; Packages installed system-wide. @@ -65,7 +65,10 @@ (services (append (list (service docker-service-type) - + (service libvirt-service-type + (libvirt-configuration + (unix-sock-group "libvirt") + (tls-port "16555"))) ;; Networking services (service tailscale-service-type) (service iwd-service-type) -- cgit v1.2.3