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

132 lines
7.2 KiB
Scheme
Raw Normal View History

2023-04-18 05:02:27 +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)
2023-04-18 05:02:27 +00:00
(gnu services)
(guix packages)
2023-04-18 05:02:27 +00:00
(guix gexp)
(gnu home services shells)
(gnu home services desktop)
(gnu home services gnupg)
(gnu home services)
2023-09-09 00:48:33 +00:00
(ryan-services pipewire)
(ryan-packages freedesktop))
(define my-neovim
(package
(inherit neovim)
(native-inputs
(modify-inputs (package-native-inputs neovim)
(prepend gcc-12)))))
2023-04-18 05:02:27 +00:00
(home-environment
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
(packages (append (specifications->packages (list "bat"
"xdg-utils"
"abook"
"libnotify"
"fzf"
2023-09-07 21:50:10 +00:00
"waypipe"
"qrencode"
"binutils"
"gcc-toolchain"
"borg"
2023-08-29 18:12:00 +00:00
"restic"
2023-09-07 20:35:37 +00:00
"rsync"
"pv"
"python-msgpack"
"libreoffice"
"flatpak"
"gnupg"
"lsof"
"pavucontrol"
"bind:utils"
"font-cns11643"
"syncthing"
"imv"
"perl"
"tor"
"unzip"
"alacritty"
"htop"
"curl"
"pandoc"
2023-08-29 17:45:30 +00:00
"texlive-bin"
"texlive-scheme-basic"
"texlive-txfonts"
"texlive-amsfonts"
"texlive-lm"
"texlive-lm-math"
"texlive-iftex"
"texlive-unicode-math"
"texlive-fontspec"
"texlive-xcolor"
"texlive-geometry"
"texlive-hyperref"
"texlive-parskip"
"texlive-etoolbox"
"zathura"
"zathura-pdf-mupdf"
"fzf"
"weechat"
"gimp"
"python"
2023-05-03 00:03:39 +00:00
"python:tk"
2023-05-05 05:22:35 +00:00
"file"
"python-lsp-server"
2023-05-26 03:06:04 +00:00
"kdenlive"
"sqlite"
2023-05-29 05:32:56 +00:00
"mpv"
"playerctl"
"aerc"
"tcpdump"
"pamixer"
2023-08-27 18:47:47 +00:00
"git"
"node"
2023-08-27 18:47:47 +00:00
"git-lfs"))
2023-09-09 00:48:33 +00:00
(list my-neovim wl-mirror)))
2023-04-18 05:02:27 +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-bash-service-type
(home-bash-configuration
(aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
("ls" . "ls -p --color=auto")
("python" . "python3")))
2023-04-18 05:02:27 +00:00
(bashrc (list (local-file
"bashrc")))
(bash-profile (list (local-file
"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"))
("sway" ,(local-file "sway" #:recursive? #t))
2023-06-10 02:22:48 +00:00
("hypr" ,(local-file "hypr" #:recursive? #t))
2023-05-17 04:30:11 +00:00
("waybar" ,(local-file "waybar" #:recursive? #t))
("alacritty" ,(local-file "alacritty" #:recursive? #t))
("aerc" ,(local-file "aerc" #:recursive? #t))
("home-manager" ,(local-file "nix-home-manager" #:recursive? #t)) ))
(service home-files-service-type
2023-05-17 04:37:34 +00:00
`((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
(".ssh/config" ,(local-file "ssh/config"))
;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
(".fonts" ,(local-file "fonts" #:recursive? #t))
(".nix-channels" ,(local-file "nix-channels"))))
(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))) )))