dotfiles-guix/home-config/home-configuration.scm

128 lines
6.3 KiB
Scheme
Raw Normal View History

2023-09-05 03:21:01 +00:00
;; This "home-environment" file can be passed to 'guix home reconfigure'
;; to reproduce the content of your profile. This is "symbolic": it only
;; specifies package names. To reproduce the exact same profile, you also
;; need to capture the channels being used, as returned by "guix describe".
;; See the "Replicating Guix" section in the manual.
(use-modules (gnu home)
(gnu packages)
(gnu packages vim)
(gnu packages gcc)
(gnu packages gnupg)
(gnu services)
(guix packages)
(guix gexp)
(gnu home services shells)
(gnu home services desktop)
(gnu home services gnupg)
(gnu home services)
(home-services pipewire)
2023-09-06 01:07:58 +00:00
(home-packages mozillia)
(home-packages audio))
2023-09-05 03:21:01 +00:00
(define my-neovim
(package
(inherit neovim)
(native-inputs
(modify-inputs (package-native-inputs neovim)
(prepend gcc-12)))))
(home-environment
;; Below is the list of packages that will show up in your
;; Home profile, unser ~/.guix-home/profile.
(packages (append (specifications->packages (list "xdg-utils"
"mako"
"i3-autotiling"
"wofi"
"qrencode"
"sassc"
"binutils"
"gcc-toolchain"
"clang-toolchain"
"libreoffice"
"gnupg"
"pavucontrol"
"bind:utils"
"syncthing"
"imv"
"unzip"
"p7zip"
"curl"
"htop"
"curl"
"zathura"
"zathura-pdf-mupdf"
"gimp"
"weechat"
"mpv"
"git"
"pinentry"
"ungoogled-chromium"
"element-desktop"
"nm-tray"
"pfetch"
"acpi"
"brightnessctl"
"neofetch"
"python"
"make"
"tree"
2023-09-06 01:07:58 +00:00
"rlwrap"
"netcat"
2023-09-05 03:21:01 +00:00
"rust-libc"
"rust-gcc"
"ripgrep"
"fd"
2023-09-06 01:07:58 +00:00
"node"
2023-09-05 03:21:01 +00:00
"tree-sitter-cli"
"python-pynvim"))
2023-09-06 01:07:58 +00:00
(list my-neovim easyeffects firefox-wayland-new)))
2023-09-05 03:21:01 +00:00
;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal.
(services
(list (service home-zsh-service-type
(home-zsh-configuration
(zshrc (list (local-file "zsh/zshrc")))
(zprofile (list (local-file "zsh/zprofile")))))
(service home-xdg-configuration-files-service-type
`(("nvim/init.vim" ,(local-file "nvim/init.vim"))
("sway" ,(local-file "sway" #:recursive? #t))
("waybar" ,(local-file "waybar" #:recursive? #t))
("alacritty" ,(local-file "alacritty" #:recursive? #t))
("lvim" ,(local-file "lvim" #:recursive? #t))
("mako" ,(local-file "mako" #:recursive? #t))
("gtk-3.0" ,(local-file "gtk/gtk-3.0" #:recursive? #t))
("gtk-4.0" ,(local-file "gtk/gtk-4.0" #:recursive? #t))
("wofi" ,(local-file "wofi" #:recursive? #t))
("hypr" ,(local-file "hypr" #:recursive? #t))
("mimeapps.list" ,(local-file "xdg/mimeapps.list" #:recursive? #t))
("user-dirs.dirs" ,(local-file "xdg/user-dirs.dirs" #:recursive? #t))
("starship.toml" ,(local-file "starship/starship.toml" #:recursive? #t))
("home-manager/home.nix" ,(local-file "nix-home-manager/home.nix")) ))
(service home-files-service-type
`((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plug.vim"))
(".ssh/config" ,(local-file "ssh/config"))
(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
;;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
(".local/share/fonts" ,(local-file "fonts" #:recursive? #t))
(".local/share/themes" ,(local-file "themes" #:recursive? #t))
(".local/share/applications" ,(local-file "applications" #:recursive? #t))
(".local/share/icons" ,(local-file "icons" #:recursive? #t))
(".gtkrc-2.0" ,(local-file "gtk/gtkrc-2.0"))
(".nix-channels" ,(local-file "nix-channels"))
(".gitconfig" ,(local-file "git/gitconfig"))
(".zsh/zsh-autosuggestions" ,(local-file "zsh/zsh-autosuggestions" #:recursive? #t))))
(service home-pipewire-service-type)
(service home-dbus-service-type)
(service home-gpg-agent-service-type
(home-gpg-agent-configuration
(pinentry-program
(file-append pinentry "/bin/pinentry"))
(ssh-support? #t)))
)))