lalalala
This commit is contained in:
parent
f1b0bfd81f
commit
b4e63143f1
7 changed files with 20 additions and 41 deletions
|
@ -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.
|
||||||
|
|
|
@ -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}",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/lua
|
#!/usr/bin/env lua
|
||||||
|
|
||||||
json = require("dkjson")
|
json = require("dkjson")
|
||||||
posix = require("posix")
|
posix = require("posix")
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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