This commit is contained in:
Murphy 2023-09-06 23:50:18 -04:00
parent f1b0bfd81f
commit b4e63143f1
No known key found for this signature in database
GPG key ID: 988032A5638EE799
7 changed files with 20 additions and 41 deletions

View file

@ -25,6 +25,10 @@
gcc
jdk
maven
lua
lua52Packages.dkjson
lua52Packages.luaposix
];
# Let Home Manager install and manage itself.

View file

@ -39,7 +39,7 @@
"tooltip": false
},
"temperature": {
"thermal-zone": 10,
"thermal-zone": 1,
"critical-threshold": 80,
"format": " {temperatureC}°"
},
@ -67,7 +67,6 @@
"ignored-sinks": ["Easy Effects Sink"]
},
"network": {
"interface": "wlp0s20f3",
"format": " disconnected",
"format-wifi": " {essid}",
"format-ethernet": "< {ipaddr}/{cidr}",

View file

@ -1,4 +1,4 @@
#!/usr/bin/lua
#!/usr/bin/env lua
json = require("dkjson")
posix = require("posix")

View file

@ -24,8 +24,7 @@
#:use-module (gnu services authentication)
#:use-module (gnu services virtualization)
#:use-module (home-packages wm)
#:use-module (home-packages virtualization)
#:use-module (home-services virtualization))
#:use-module (home-packages virtualization))
(define %my-base-packages
(remove (lambda (package)
@ -123,7 +122,10 @@
(publish-workstation? #f))) ; do not advertise, I want this to be as silent as possible
(service docker-service-type)
(service nix-service-type)
(service libvirt-service-type-new)
(service libvirt-service-type
(libvirt-configuration
(libvirt libvirt-new)
(unix-sock-group "libvirt")))
(service virtlog-service-type)
(service bluetooth-service-type)
(service pam-limits-service-type)

View file

@ -7,9 +7,7 @@
#:use-module (gnu packages linux)
#:use-module (nonguix build-system binary)
#:use-module (guix build-system trivial)
#:use-module (nongnu packages mozilla)
#:export (firefox-wayland-new
firefox*))
#:use-module (nongnu packages mozilla))
(define firefox*
(package/inherit
@ -20,7 +18,7 @@
(delete "pipewire")
(append pipewire)))))
(define firefox-wayland-new
(define-public firefox-wayland-new
(package
(inherit firefox*)
(name "firefox-wayland-new")

View file

@ -9,6 +9,13 @@
#:use-module (home-packages firmware)
#:use-module (guix gexp))
(define-public libvirt-new
(package
(inherit libvirt)
(inputs
(modify-inputs (package-inputs libvirt)
(append ovmf-new)))))
(define-public virt-manager-new
(package
(inherit virt-manager)

View file

@ -1,31 +0,0 @@
(define-module (home-services virtualization)
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (gnu packages virtualization)
#:use-module (gnu services)
#:use-module (gnu services configuration)
#:use-module (gnu services virtualization)
#:use-module (gnu home services)
#:use-module (home-packages firmware)
#:use-module (guix gexp))
(define libvirt-new
(package
(inherit libvirt)
(inputs
(modify-inputs (package-inputs libvirt)
(append ovmf-new)))))
(define-public libvirt-service-type-new
(service-type
(name 'libvirt-new)
(extensions
(list
(service-extension libvirt-service-type
(lambda (config)
(libvirt-configuration
(unix-sock-group "libvirt")))
)
(default-value #f)
(description "Libvirt with OVMF")))