added more packages for backups, building more tex files, and preparing for nvims language server. Also added udev rule for backlight control

This commit is contained in:
Ryan Schanzenbacher 2023-04-25 18:56:20 -04:00
parent 6bcd743b19
commit 15c9036a40
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E
3 changed files with 21 additions and 0 deletions

View file

@ -28,6 +28,8 @@
"qrencode" "qrencode"
"binutils" "binutils"
"gcc-toolchain" "gcc-toolchain"
"borg"
"python-msgpack"
"libreoffice" "libreoffice"
"flatpak" "flatpak"
"gnupg" "gnupg"
@ -56,6 +58,8 @@
"texlive-xcolor" "texlive-xcolor"
"texlive-latex-geometry" "texlive-latex-geometry"
"texlive-hyperref" "texlive-hyperref"
"texlive-latex-parskip"
"texlive-etoolbox"
"zathura" "zathura"
"zathura-pdf-mupdf" "zathura-pdf-mupdf"
"fzf" "fzf"
@ -63,6 +67,7 @@
"icedove-minimal" "icedove-minimal"
"gimp" "gimp"
"python" "python"
"python-lsp-server"
"sqlite" "sqlite"
"git")) "git"))
(list my-neovim))) (list my-neovim)))

View file

@ -52,6 +52,8 @@ require('orgmode').setup({
vim.opt.conceallevel = 2 vim.opt.conceallevel = 2
vim.opt.concealcursor = nc vim.opt.concealcursor = nc
local lspconfig = require('lspconfig')
END END
"asynccomplete Auto Complete Config "asynccomplete Auto Complete Config

View file

@ -26,6 +26,15 @@
(list "sudo" "nano"))) (list "sudo" "nano")))
%base-packages )) %base-packages ))
(define %backlight-udev-rule
(udev-rule
"90-backlight.rules"
(string-append "ACTION==\"add\", SUBSYSTEM==\"backlight\", "
"RUN+=\"/run/current-system/profile/bin/chgrp video /sys/class/backlight/%k/brightness\""
"\n"
"ACTION==\"add\", SUBSYSTEM==\"backlight\", "
"RUN+=\"/run/current-system/profile/bin/chmod g+w /sys/class/backlight/%k/brightness\"")))
(operating-system (operating-system
(kernel linux) (kernel linux)
(firmware (list linux-firmware)) (firmware (list linux-firmware))
@ -108,6 +117,11 @@
(q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#) (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)
) )
)" ) %default-authorized-guix-keys)))) )" ) %default-authorized-guix-keys))))
(udev-service-type config =>
(udev-configuration
(inherit config)
(rules (cons %backlight-udev-rule
(udev-configuration-rules config)))))
(delete pulseaudio-service-type) (delete pulseaudio-service-type)
(delete gdm-service-type) ))) (delete gdm-service-type) )))
(setuid-programs (setuid-programs