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

208 lines
11 KiB
Scheme
Raw Normal View History

2023-04-18 01:02:27 -04: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 01:02:27 -04:00
(gnu services)
(guix packages)
2023-04-18 01:02:27 -04:00
(guix gexp)
(gnu home services shells)
(gnu home services desktop)
(gnu home services gnupg)
(gnu home services fontutils)
(gnu home services)
2023-09-08 20:48:33 -04:00
(ryan-services pipewire)
(ryan-services spotify)
2024-04-10 20:13:45 -04:00
(ryan-services file-manager)
2024-01-18 18:43:59 -05:00
(ryan-config utils)
2023-09-14 19:57:05 -04:00
(ryan-packages freedesktop)
2024-01-25 15:19:37 -05:00
(ryan-packages calcurse)
;(ryan-packages binaries)
2024-05-21 19:14:36 -04:00
(rosenthal packages binaries)
2023-09-14 19:57:05 -04:00
(ryan-packages mozilla))
(define my-neovim
(package
(inherit neovim)
(native-inputs
(modify-inputs (package-native-inputs neovim)
(prepend gcc-12)))))
2023-04-18 01:02:27 -04:00
2024-04-10 20:13:45 -04:00
(define %home-symlinks
`((".config/guix/home-config/fish" ".config/fish")
(".config/guix/home-config/nix-config" ".config/nix")
2024-09-03 14:09:35 -04:00
(".config/guix/home-config/tridactyl/native_main" ".local/share/tridactyl/native_main")
(".config/guix/home-config/nix-home-manager" ".config/home-manager")))
2024-04-10 20:13:45 -04:00
(home-symlinks %home-symlinks)
2023-04-18 01:02:27 -04: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"
"fd"
"fish"
"xdg-utils"
"abook"
"libnotify"
"fzf"
2023-09-07 17:50:10 -04:00
"waypipe"
2024-09-03 14:09:35 -04:00
"foot"
"pulseaudio" ;only for pactl
"qpwgraph"
2023-09-21 17:08:39 -04:00
"gnunet"
;"ffmpeg" ; removed for mpv prop input
"qrencode"
2024-09-05 16:35:07 -04:00
"tmux"
"binutils"
"gcc-toolchain"
"borg"
2023-08-29 14:12:00 -04:00
"restic"
2023-09-07 16:35:37 -04:00
"rsync"
2023-09-28 14:22:51 -04:00
"cloc"
"sc-im"
2023-09-07 16:35:37 -04:00
"pv"
"jq"
2024-01-04 19:52:24 -05:00
"bombadillo"
"python-msgpack"
"wdisplays"
"kanshi"
"libreoffice"
"flatpak"
"gnupg"
"spotifyd"
"lsof"
"pavucontrol"
2023-09-22 16:51:53 -04:00
"netcat"
"bind:utils"
"font-cns11643"
"font-google-noto-emoji"
"syncthing"
2024-01-18 15:54:31 -05:00
"taskwarrior"
"tasksh"
;"imv" ; Nix pkg now for MESA stuff
"perl"
"tor"
"unzip"
"htop"
"curl"
"pandoc"
2023-08-29 13:45:30 -04: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"
"texlive-setspace"
"zathura"
"zathura-pdf-mupdf"
2023-10-26 15:08:38 -04:00
"go"
"fzf"
"weechat"
"gimp"
"python"
2023-05-02 20:03:39 -04:00
"python:tk"
2023-05-05 01:22:35 -04:00
"file"
"python-lsp-server"
2023-05-25 23:06:04 -04:00
"kdenlive"
"sqlite"
;"mpv" ; Now a nix pkg for MESA stuff
"qbittorrent"
"playerctl"
2024-03-29 15:19:07 -04:00
;"aerc"
"tcpdump"
"pamixer"
2023-08-27 14:47:47 -04:00
"git"
2024-01-25 15:19:37 -05:00
"git:send-email"
2023-10-03 10:36:12 -04:00
"password-store"
"node"
"kanshi"
;"firefox"
2024-04-25 15:33:19 -04:00
"signal-desktop"
"sc-im"
2023-08-27 14:47:47 -04:00
"git-lfs"))
(list my-neovim wl-mirror calcurse-fixed )))
2023-04-18 01:02:27 -04:00
;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal.
(services
2024-04-12 23:06:03 -04:00
(list ;(service home-bash-service-type
; (home-bash-configuration
2024-04-10 20:13:45 -04:00
;(aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
; ("ls" . "ls -p --color=auto")
; ("spt" . "spotify_player")
; ("python" . "python3")))
2024-04-12 23:06:03 -04: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"))
2023-09-26 14:54:45 -04:00
("nvim/after/ftplugin/mail/custom.vim" ,(local-file "nvim/config/after/ftplugin/mail/custom.vim"))
("sway" ,(local-file "sway" #:recursive? #t))
2023-06-09 22:22:48 -04:00
("hypr" ,(local-file "hypr" #:recursive? #t))
2024-10-21 11:40:52 -04:00
("wpaperd" ,(local-file "wpaperd" #:recursive? #t))
("mpv" ,(local-file "mpv" #:recursive? #t))
2023-10-12 00:00:38 -04:00
("foot" ,(local-file "foot" #:recursive? #t))
("pulse/client.conf" ,(local-file "pulseaudio/client.conf"))
2023-05-17 00:30:11 -04:00
("waybar" ,(local-file "waybar" #:recursive? #t))
("alacritty" ,(local-file "alacritty" #:recursive? #t))
("aerc" ,(local-file "aerc" #:recursive? #t)) ))
(service home-files-service-type
2023-05-17 00:37:34 -04:00
`((".local/share/nvim/site/autoload/plug.vim" ,(local-file "nvim/plugin-manager/plug.vim"))
(".ssh/config" ,(local-file "ssh/config"))
(".icons" ,(local-file "icons" #:recursive? #t))
2024-09-03 14:09:35 -04:00
(".mozilla/native-messaging-hosts/tridactyl.json" ,(local-file "tridactyl/tridactyl.json"))
;(".gnupg/sshcontrol" ,(local-file "gnupg/sshcontrol"))
;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))
(".local/share/fonts" ,(local-file "fonts" #:recursive? #t))
2024-02-26 12:34:12 -05:00
(".gitconfig" ,(local-file "gitconfig"))
2023-12-01 01:22:28 -05:00
(".docker/cli-plugins" ,(local-file "docker/cli-plugins" #:recursive? #t))
(".nix-channels" ,(local-file "nix-channels"))))
(service home-pipewire-service-type)
(service home-spotifyd-service-type)
; font things for nix to play nice
(simple-service 'additional-fonts-service
home-fontconfig-service-type
(list "~/.nix-profile/share/fonts"
'(match (@ (target "pattern"))
(edit (@ (name "family") (mode "prepend"))
(string "DejaVu Sans")))
'(alias
(family "serif")
(prefer
(family "DejaVu Serif")))
'(alias
(family "sans")
(prefer
(family "DejaVu Sans")))
'(alias
(family "monospace")
(prefer
(family "DejaVu Sans Mono")))))
(service home-dbus-service-type)
2024-04-10 20:13:45 -04:00
;;; trying some changes
2024-01-18 18:59:19 -05:00
;(template-files "."
;'("spotify-player/app.toml"
2024-01-18 18:43:59 -05:00
;;;
(service home-gpg-agent-service-type
(home-gpg-agent-configuration
(pinentry-program
(file-append pinentry "/bin/pinentry"))
(ssh-support? #t))) )))