mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 07:36:09 -05:00
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:
parent
6bcd743b19
commit
15c9036a40
3 changed files with 21 additions and 0 deletions
|
@ -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)))
|
||||
|
|
|
@ -52,6 +52,8 @@ require('orgmode').setup({
|
|||
|
||||
vim.opt.conceallevel = 2
|
||||
vim.opt.concealcursor = nc
|
||||
|
||||
local lspconfig = require('lspconfig')
|
||||
END
|
||||
|
||||
"asynccomplete Auto Complete Config
|
||||
|
|
14
system.scm
14
system.scm
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue