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

View file

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

View file

@ -26,6 +26,15 @@
(list "sudo" "nano")))
%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
(kernel linux)
(firmware (list linux-firmware))
@ -108,6 +117,11 @@
(q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)
)
)" ) %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 gdm-service-type) )))
(setuid-programs