lalalala
This commit is contained in:
parent
f1b0bfd81f
commit
b4e63143f1
7 changed files with 20 additions and 41 deletions
|
@ -25,6 +25,10 @@
|
|||
gcc
|
||||
jdk
|
||||
maven
|
||||
|
||||
lua
|
||||
lua52Packages.dkjson
|
||||
lua52Packages.luaposix
|
||||
];
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
|
|
|
@ -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}",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/lua
|
||||
#!/usr/bin/env lua
|
||||
|
||||
json = require("dkjson")
|
||||
posix = require("posix")
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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")))
|
||||
|
Loading…
Reference in a new issue