summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2023-04-20 18:17:46 -0400
committerRyan Schanzenbacher <ryan@rschanz.org>2023-04-20 18:17:46 -0400
commit18357af871d760c558ef736a05c3dc34f3609453 (patch)
tree5d4d264d186b6b22f611f9c220b6dd5dc00f590e
parent26b27dd9c469ea7fb4fe3ba312781fd225573342 (diff)
Changed neovim configuration to build using gcc 12
-rw-r--r--home-config/home-configuration.scm78
1 files changed, 50 insertions, 28 deletions
diff --git a/home-config/home-configuration.scm b/home-config/home-configuration.scm
index 65bc5f5..3593eaf 100644
--- a/home-config/home-configuration.scm
+++ b/home-config/home-configuration.scm
@@ -6,36 +6,52 @@
6 6
7(use-modules (gnu home) 7(use-modules (gnu home)
8 (gnu packages) 8 (gnu packages)
9 (gnu packages vim)
10 (gnu packages gcc)
9 (gnu services) 11 (gnu services)
12 (guix packages)
10 (guix gexp) 13 (guix gexp)
11 (gnu home services shells)) 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)))))
12 23
13(home-environment 24(home-environment
14 ;; Below is the list of packages that will show up in your 25 ;; Below is the list of packages that will show up in your
15 ;; Home profile, under ~/.guix-home/profile. 26 ;; Home profile, under ~/.guix-home/profile.
16 (packages (specifications->packages (list "bat" 27 (packages (append (specifications->packages (list "bat"
17 "qrencode" 28 "qrencode"
18 "libreoffice" 29 "binutils"
19 "flatpak" 30 "gcc-toolchain"
20 "gnupg" 31 "libreoffice"
21 "lsof" 32 "flatpak"
22 "pavucontrol" 33 "gnupg"
23 "bind:utils" 34 "lsof"
24 ;"firefox" 35 "pavucontrol"
25 "irssi" 36 "bind:utils"
26 "font-cns11643" 37 "firefox"
27 "syncthing" 38 "irssi"
28 "perl" 39 "font-cns11643"
29 "tor" 40 "syncthing"
30 "unzip" 41 "perl"
31 "alacritty" 42 "tor"
32 "htop" 43 "unzip"
33 "curl" 44 "alacritty"
34 "neovim" 45 "htop"
35 "weechat" 46 "curl"
36 "icedove-minimal" 47 ;"my-neovim"
37 "gimp" 48 "weechat"
38 "git"))) 49 "icedove-minimal"
50 "gimp"
51 "python"
52 "sqlite"
53 "git"))
54 (list my-neovim)))
39 55
40 ;; Below is the list of Home services. To search for available 56 ;; Below is the list of Home services. To search for available
41 ;; services, run 'guix home search KEYWORD' in a terminal. 57 ;; services, run 'guix home search KEYWORD' in a terminal.
@@ -43,10 +59,16 @@
43 (list (service home-bash-service-type 59 (list (service home-bash-service-type
44 (home-bash-configuration 60 (home-bash-configuration
45 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l") 61 (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
46 ("ls" . "ls -p --color=auto"))) 62 ("ls" . "ls -p --color=auto")
63 ("python" . "python3")))
47 (bashrc (list (local-file 64 (bashrc (list (local-file
48 "/home/ryan/.config/guix/home-config/.bashrc" 65 "/home/ryan/.config/guix/home-config/bashrc"
49 "bashrc"))) 66 "bashrc")))
50 (bash-profile (list (local-file 67 (bash-profile (list (local-file
51 "/home/ryan/.config/guix/home-config/.bash_profile" 68 "/home/ryan/.config/guix/home-config/bash_profile"
52 "bash_profile")))))))) 69 "bash_profile")))))
70 (service home-xdg-configuration-files-service-type
71 `(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
72 ("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim")) ))
73 (service home-files-service-type
74 `((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) )))))