summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-07-17 07:18:25 +0300
committerThanos Apollo <[email protected]>2024-07-17 07:18:25 +0300
commitb39a3de4f2963f747149f5822a890783e58559bf (patch)
tree9ca246dc4ece344813b62d751db311da1bc5c5f5
parent206f9e89708ba4d07e0ade56af5b5882c20c136b (diff)
guix: system: Add virtualization & kvm support
-rw-r--r--guix/system-create.scm9
1 files changed, 6 insertions, 3 deletions
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)