users/global: clean up graphical setup

This commit is contained in:
Infinidoge 2024-07-15 08:50:36 -04:00
parent 30219401b0
commit b114856020
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
6 changed files with 64 additions and 71 deletions

View file

@ -1,9 +1,6 @@
{ config, main, pkgs, lib, ... }:
let
ifGraphical = lib.optionals main.info.graphical;
ifGraphical' = lib.optional main.info.graphical;
in
lib.mkIf main.info.graphical {
lib.mkIf main.info.graphical
{
programs.emacs = {
enable = true;
extraPackages = epkgs: with epkgs; [ vterm pdf-tools emacsql-sqlite ];
@ -24,8 +21,6 @@ lib.mkIf main.info.graphical {
# --- Doom Emacs ---
mlocate
gnumake
# --- :tools ---
# :tools editorconfig
editorconfig-core-c
@ -49,33 +44,31 @@ lib.mkIf main.info.graphical {
dockfmt
# :lang latex
(ifGraphical [
(texlive.combine {
inherit (texlive)
scheme-medium
(texlive.combine {
inherit (texlive)
scheme-medium
apa7
apacite
biblatex
biblatex-apa
biblatex-chicago
capt-of minted
catchfile
endfloat
framed
fvextra
hanging
lipsum
mleftright
scalerel
threeparttable
upquote
wrapfig
xstring
;
})
biber
])
apa7
apacite
biblatex
biblatex-apa
biblatex-chicago
capt-of minted
catchfile
endfloat
framed
fvextra
hanging
lipsum
mleftright
scalerel
threeparttable
upquote
wrapfig
xstring
;
})
biber
# :lang markdown
# python3Packages.grip