Changed neovim configuration to build using gcc 12

This commit is contained in:
Ryan 2023-04-20 18:17:46 -04:00
parent 26b27dd9c4
commit 18357af871
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E

View file

@ -6,36 +6,52 @@
(use-modules (gnu home) (use-modules (gnu home)
(gnu packages) (gnu packages)
(gnu packages vim)
(gnu packages gcc)
(gnu services) (gnu services)
(guix packages)
(guix gexp) (guix gexp)
(gnu home services shells)) (gnu home services shells)
(gnu home services))
(define my-neovim
(package
(inherit neovim)
(native-inputs
(modify-inputs (package-native-inputs neovim)
(prepend gcc-12)))))
(home-environment (home-environment
;; Below is the list of packages that will show up in your ;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile. ;; Home profile, under ~/.guix-home/profile.
(packages (specifications->packages (list "bat" (packages (append (specifications->packages (list "bat"
"qrencode" "qrencode"
"libreoffice" "binutils"
"flatpak" "gcc-toolchain"
"gnupg" "libreoffice"
"lsof" "flatpak"
"pavucontrol" "gnupg"
"bind:utils" "lsof"
;"firefox" "pavucontrol"
"irssi" "bind:utils"
"font-cns11643" "firefox"
"syncthing" "irssi"
"perl" "font-cns11643"
"tor" "syncthing"
"unzip" "perl"
"alacritty" "tor"
"htop" "unzip"
"curl" "alacritty"
"neovim" "htop"
"weechat" "curl"
"icedove-minimal" ;"my-neovim"
"gimp" "weechat"
"git"))) "icedove-minimal"
"gimp"
"python"
"sqlite"
"git"))
(list my-neovim)))
;; Below is the list of Home services. To search for available ;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal. ;; services, run 'guix home search KEYWORD' in a terminal.
@ -43,10 +59,16 @@
(list (service home-bash-service-type (list (service home-bash-service-type
(home-bash-configuration (home-bash-configuration
(aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l") (aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
("ls" . "ls -p --color=auto"))) ("ls" . "ls -p --color=auto")
("python" . "python3")))
(bashrc (list (local-file (bashrc (list (local-file
"/home/ryan/.config/guix/home-config/.bashrc" "/home/ryan/.config/guix/home-config/bashrc"
"bashrc"))) "bashrc")))
(bash-profile (list (local-file (bash-profile (list (local-file
"/home/ryan/.config/guix/home-config/.bash_profile" "/home/ryan/.config/guix/home-config/bash_profile"
"bash_profile")))))))) "bash_profile")))))
(service home-xdg-configuration-files-service-type
`(("nvim/init.vim" ,(local-file "nvim/config/init.vim"))
("nvim/after/ftplugin/markdown/custom.vim" ,(local-file "nvim/config/after/ftplugin/markdown/custom.vim")) ))
(service home-files-service-type
`((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim")) )))))