diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-04-25 18:56:20 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-04-25 18:56:32 -0400 |
| commit | 15c9036a40b9219c36ad390066072a202123ff15 (patch) | |
| tree | 57a85fbfc7b2eaf4b2b6f6c5d1ce23abac107262 | |
| parent | 6bcd743b19740ce6b2b99c75b88367d5fc4d6e86 (diff) | |
added more packages for backups, building more tex files, and preparing for nvims language server. Also added udev rule for backlight control
| -rw-r--r-- | home-config/home-configuration.scm | 5 | ||||
| -rw-r--r-- | home-config/nvim/config/init.vim | 2 | ||||
| -rw-r--r-- | system.scm | 14 |
3 files changed, 21 insertions, 0 deletions
diff --git a/home-config/home-configuration.scm b/home-config/home-configuration.scm index 76abe51..9fb45fb 100644 --- a/home-config/home-configuration.scm +++ b/home-config/home-configuration.scm | |||
| @@ -28,6 +28,8 @@ | |||
| 28 | "qrencode" | 28 | "qrencode" |
| 29 | "binutils" | 29 | "binutils" |
| 30 | "gcc-toolchain" | 30 | "gcc-toolchain" |
| 31 | "borg" | ||
| 32 | "python-msgpack" | ||
| 31 | "libreoffice" | 33 | "libreoffice" |
| 32 | "flatpak" | 34 | "flatpak" |
| 33 | "gnupg" | 35 | "gnupg" |
| @@ -56,6 +58,8 @@ | |||
| 56 | "texlive-xcolor" | 58 | "texlive-xcolor" |
| 57 | "texlive-latex-geometry" | 59 | "texlive-latex-geometry" |
| 58 | "texlive-hyperref" | 60 | "texlive-hyperref" |
| 61 | "texlive-latex-parskip" | ||
| 62 | "texlive-etoolbox" | ||
| 59 | "zathura" | 63 | "zathura" |
| 60 | "zathura-pdf-mupdf" | 64 | "zathura-pdf-mupdf" |
| 61 | "fzf" | 65 | "fzf" |
| @@ -63,6 +67,7 @@ | |||
| 63 | "icedove-minimal" | 67 | "icedove-minimal" |
| 64 | "gimp" | 68 | "gimp" |
| 65 | "python" | 69 | "python" |
| 70 | "python-lsp-server" | ||
| 66 | "sqlite" | 71 | "sqlite" |
| 67 | "git")) | 72 | "git")) |
| 68 | (list my-neovim))) | 73 | (list my-neovim))) |
diff --git a/home-config/nvim/config/init.vim b/home-config/nvim/config/init.vim index c0082a2..0934e02 100644 --- a/home-config/nvim/config/init.vim +++ b/home-config/nvim/config/init.vim | |||
| @@ -52,6 +52,8 @@ require('orgmode').setup({ | |||
| 52 | 52 | ||
| 53 | vim.opt.conceallevel = 2 | 53 | vim.opt.conceallevel = 2 |
| 54 | vim.opt.concealcursor = nc | 54 | vim.opt.concealcursor = nc |
| 55 | |||
| 56 | local lspconfig = require('lspconfig') | ||
| 55 | END | 57 | END |
| 56 | 58 | ||
| 57 | "asynccomplete Auto Complete Config | 59 | "asynccomplete Auto Complete Config |
| @@ -26,6 +26,15 @@ | |||
| 26 | (list "sudo" "nano"))) | 26 | (list "sudo" "nano"))) |
| 27 | %base-packages )) | 27 | %base-packages )) |
| 28 | 28 | ||
| 29 | (define %backlight-udev-rule | ||
| 30 | (udev-rule | ||
| 31 | "90-backlight.rules" | ||
| 32 | (string-append "ACTION==\"add\", SUBSYSTEM==\"backlight\", " | ||
| 33 | "RUN+=\"/run/current-system/profile/bin/chgrp video /sys/class/backlight/%k/brightness\"" | ||
| 34 | "\n" | ||
| 35 | "ACTION==\"add\", SUBSYSTEM==\"backlight\", " | ||
| 36 | "RUN+=\"/run/current-system/profile/bin/chmod g+w /sys/class/backlight/%k/brightness\""))) | ||
| 37 | |||
| 29 | (operating-system | 38 | (operating-system |
| 30 | (kernel linux) | 39 | (kernel linux) |
| 31 | (firmware (list linux-firmware)) | 40 | (firmware (list linux-firmware)) |
| @@ -108,6 +117,11 @@ | |||
| 108 | (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#) | 117 | (q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#) |
| 109 | ) | 118 | ) |
| 110 | )" ) %default-authorized-guix-keys)))) | 119 | )" ) %default-authorized-guix-keys)))) |
| 120 | (udev-service-type config => | ||
| 121 | (udev-configuration | ||
| 122 | (inherit config) | ||
| 123 | (rules (cons %backlight-udev-rule | ||
| 124 | (udev-configuration-rules config))))) | ||
| 111 | (delete pulseaudio-service-type) | 125 | (delete pulseaudio-service-type) |
| 112 | (delete gdm-service-type) ))) | 126 | (delete gdm-service-type) ))) |
| 113 | (setuid-programs | 127 | (setuid-programs |
