home-config/home-configuration.scm

6bcd743b19740ce6b2b99c75b88367d5fc4d6e86 · 4.7 KB · 88 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 "libreoffice"
32 "flatpak"
33 "gnupg"
34 "lsof"
35 "pavucontrol"
36 "bind:utils"
37 "firefox"
38 "irssi"
39 "font-cns11643"
40 "syncthing"
41 "perl"
42 "tor"
43 "unzip"
44 "alacritty"
45 "htop"
46 "curl"
47 "pandoc"
48 "texlive-base"
49 "texlive-txfonts"
50 "texlive-amsfonts"
51 "texlive-lm"
52 "texlive-lm-math"
53 "texlive-generic-iftex"
54 "texlive-unicode-math"
55 "texlive-fontspec"
56 "texlive-xcolor"
57 "texlive-latex-geometry"
58 "texlive-hyperref"
59 "zathura"
60 "zathura-pdf-mupdf"
61 "fzf"
62 "weechat"
63 "icedove-minimal"
64 "gimp"
65 "python"
66 "sqlite"
67 "git"))
68 (list my-neovim)))
69
70 ;; Below is the list of Home services. To search for available
71 ;; services, run 'guix home search KEYWORD' in a terminal.
72 (services
73 (list (service home-bash-service-type
74 (home-bash-configuration
75 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
76 ("ls" . "ls -p --color=auto")
77 ("python" . "python3")))
78 (bashrc (list (local-file
79 "/home/ryan/.config/guix/home-config/bashrc"
80 "bashrc")))
81 (bash-profile (list (local-file
82 "/home/ryan/.config/guix/home-config/bash_profile"
83 "bash_profile")))))
84 (service home-xdg-configuration-files-service-type
85 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
86 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim")) ))
87 (service home-files-service-type
88 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) )))))