This commit is contained in:
Freya 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 gcc
jdk jdk
maven maven
lua
lua52Packages.dkjson
lua52Packages.luaposix
]; ];
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.

View file

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

View file

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

View file

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

View file

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

View file

@ -9,6 +9,13 @@
#:use-module (home-packages firmware) #:use-module (home-packages firmware)
#:use-module (guix gexp)) #: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 (define-public virt-manager-new
(package (package
(inherit virt-manager) (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")))