This commit is contained in:
Freya Murphy 2023-09-06 12:39:00 -04:00
parent af435b1045
commit 426df5d509
No known key found for this signature in database
GPG key ID: 988032A5638EE799
4 changed files with 23 additions and 13 deletions

View file

@ -6,7 +6,6 @@
(use-modules (gnu home)
(gnu packages)
(gnu packages vim)
(gnu packages gcc)
(gnu packages gnupg)
(gnu packages virtualization)
@ -19,14 +18,9 @@
(gnu home services)
(home-services pipewire)
(home-packages mozillia)
(home-packages vim)
(home-packages audio))
(define my-neovim
(package
(inherit neovim)
(native-inputs
(modify-inputs (package-native-inputs neovim)
(prepend gcc-12)))))
(home-environment
;; Below is the list of packages that will show up in your
@ -77,7 +71,7 @@
"tree-sitter-cli"
"python-pynvim"))
(list my-neovim easyeffects firefox-wayland-new)))
(list neovim-new easyeffects firefox-wayland-new)))
;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal.
@ -86,6 +80,7 @@
(home-zsh-configuration
(zshrc (list (local-file "zsh/zshrc")))
(zprofile (list (local-file "zsh/zprofile")))))
(service home-xdg-configuration-files-service-type
`(("nvim/init.vim" ,(local-file "nvim/init.vim"))
("sway" ,(local-file "sway" #:recursive? #t))

View file

@ -122,7 +122,7 @@
(publish-workstation? #f))) ; do not advertise, I want this to be as silent as possible
(service docker-service-type)
(service nix-service-type)
(service my-libvirt-service-type)
(service libvirt-service-type-new)
(service virtlog-service-type)
(service bluetooth-service-type)
(service pam-limits-service-type)

View file

@ -0,0 +1,15 @@
(define-module (home-packages vim)
#:use-module (guix packages)
#:use-module (gnu packages)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (gnu packages vim)
#:use-module (gnu packages gcc))
(define-public neovim-new
(package
(inherit neovim)
(name "neovim-new")
(native-inputs
(modify-inputs (package-native-inputs neovim)
(prepend gcc-12)))))

View file

@ -9,7 +9,7 @@
#:use-module (gnu home services)
#:use-module (guix gexp))
(define my-libvirt
(define libvirt-new
(package
(inherit libvirt)
(inputs
@ -20,15 +20,15 @@
`(("/usr/share/OVMF/OVMF_CODE.fd",
(file-append ovmf "/share/firmware/ovmf_x64.bin"))))
(define-public my-libvirt-service-type
(define-public libvirt-service-type-new
(service-type
(name 'my-libvirt)
(name 'libvirt-new)
(extensions
(list
(service-extension libvirt-service-type
(lambda (config)
(libvirt-configuration
(libvirt my-libvirt)
(libvirt libvirt-new)
(unix-sock-group "libvirt")))
)
(service-extension special-files-service-type