home-config/home-configuration.scm

bf6a91943d2c5852025ed1d1aadb30d83edf0354 · 5.3 KB · 97 lines raw

1 ;; This "home-environment" file can be passed to 'guix home reconfigure'
2 ;; to reproduce the content of your profile. This is "symbolic": it only
3 ;; specifies package names. To reproduce the exact same profile, you also
4 ;; need to capture the channels being used, as returned by "guix describe".
5 ;; See the "Replicating Guix" section in the manual.
6
7 (use-modules (gnu home)
8 (gnu packages)
9 (gnu packages vim)
10 (gnu packages gcc)
11 (gnu services)
12 (guix packages)
13 (guix gexp)
14 (gnu home services shells)
15 (gnu home services))
16
17 (define my-neovim
18 (package
19 (inherit neovim)
20 (native-inputs
21 (modify-inputs (package-native-inputs neovim)
22 (prepend gcc-12)))))
23
24 (home-environment
25 ;; Below is the list of packages that will show up in your
26 ;; Home profile, under ~/.guix-home/profile.
27 (packages (append (specifications->packages (list "bat"
28 "qrencode"
29 "binutils"
30 "gcc-toolchain"
31 "borg"
32 "python-msgpack"
33 "libreoffice"
34 "flatpak"
35 "gnupg"
36 "lsof"
37 "pavucontrol"
38 "bind:utils"
39 "firefox"
40 "irssi"
41 "font-cns11643"
42 "syncthing"
43 "perl"
44 "tor"
45 "unzip"
46 "alacritty"
47 "htop"
48 "curl"
49 "pandoc"
50 "texlive-base"
51 "texlive-txfonts"
52 "texlive-amsfonts"
53 "texlive-lm"
54 "texlive-lm-math"
55 "texlive-generic-iftex"
56 "texlive-unicode-math"
57 "texlive-fontspec"
58 "texlive-xcolor"
59 "texlive-latex-geometry"
60 "texlive-hyperref"
61 "texlive-latex-parskip"
62 "texlive-etoolbox"
63 "zathura"
64 "zathura-pdf-mupdf"
65 "fzf"
66 "weechat"
67 "icedove-minimal"
68 "gimp"
69 "python"
70 "python:tk"
71 "file"
72 "python-lsp-server"
73 "sqlite"
74 "git"))
75 (list my-neovim)))
76
77 ;; Below is the list of Home services. To search for available
78 ;; services, run 'guix home search KEYWORD' in a terminal.
79 (services
80 (list (service home-bash-service-type
81 (home-bash-configuration
82 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
83 ("ls" . "ls -p --color=auto")
84 ("python" . "python3")))
85 (bashrc (list (local-file
86 "/home/ryan/.config/guix/home-config/bashrc"
87 "bashrc")))
88 (bash-profile (list (local-file
89 "/home/ryan/.config/guix/home-config/bash_profile"
90 "bash_profile")))))
91 (service home-xdg-configuration-files-service-type
92 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
93 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim"))
94 ("sway" ,(local-file "sway" #:recursive? #t))
95 ("waybar" ,(local-file "waybar" #:recursive? #t)) ))
96 (service home-files-service-type
97 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) )))))