guix/config/home-configuration.scm

151 lines
4.4 KiB
Scheme
Raw Normal View History

2024-02-07 17:24:32 +00:00
;; -*- mode: scheme; coding: utf-8; -*-
;;
2024-03-07 14:41:42 +00:00
;; tangled from home-configuration.org on 2024-03-07 15:41:27+01:00)
2024-02-07 17:24:32 +00:00
(use-modules (gnu)
2024-02-07 17:42:27 +00:00
(gnu services)
2024-02-08 10:13:13 +00:00
(gnu packages)
2024-02-07 17:24:32 +00:00
(gnu packages gnupg)
2024-02-07 17:42:27 +00:00
(gnu packages shells)
2024-02-08 10:13:13 +00:00
(gnu home)
2024-02-07 17:42:27 +00:00
(gnu home services)
(gnu home services guix)
2024-02-07 17:24:32 +00:00
(gnu home services shells)
2024-02-07 17:42:27 +00:00
(gnu home services dotfiles)
(gnu home services desktop)
(gnu home services sound)
2024-02-08 10:13:13 +00:00
(gnu home services gnupg)
(guix channels)
(guix gexp))
2024-02-07 17:24:32 +00:00
(home-environment
(packages (specifications->packages
(list
2024-03-04 21:54:13 +00:00
2024-02-07 17:24:32 +00:00
"nordic-theme"
"firefox"
"emacs-guix"
"emacs-next"
2024-03-04 21:54:13 +00:00
"libreoffice"
2024-02-07 17:24:32 +00:00
"rsync"
2024-03-04 21:54:13 +00:00
;; "nyxt"
"gnupg"
2024-02-07 17:24:32 +00:00
"crda"
"htop"
2024-03-04 21:54:13 +00:00
"tree"
2024-02-07 17:24:32 +00:00
"password-store"
2024-02-09 13:01:22 +00:00
"kmail"
"krunner"
"akonadi"
2024-03-04 21:54:13 +00:00
;; "kitty-next"
2024-02-09 13:01:22 +00:00
"kitty"
2024-03-04 21:54:13 +00:00
"getmail6"
"notmuch"
2024-02-09 13:01:22 +00:00
2024-03-04 21:54:13 +00:00
"scribus"
"inkscape"
"gimp"
2024-02-09 13:01:22 +00:00
"imagemagick"
2024-03-04 21:54:13 +00:00
"supercollider"
"tidal"
"ardour"
"audacity"
2024-02-07 17:24:32 +00:00
"qpwgraph"
2024-03-07 14:41:42 +00:00
"patchage"
"guile"
"sbcl"
"racket"
"python"
"gcc-toolchain"
"git" "git:send-email"
2024-02-09 13:01:22 +00:00
2024-03-04 21:54:13 +00:00
"nextcloud-client"
2024-03-07 14:41:42 +00:00
"font-monaspace"
"font-recursive"
"font-fira-sans"
"font-fira-mono"
"font-victor-mono"
2024-02-07 17:24:32 +00:00
"lm-sensors"
"dmidecode"
"lshw"
"hwinfo"
"acpi"
2024-02-09 13:01:22 +00:00
))) ;; end packages
2024-02-07 17:24:32 +00:00
(services
2024-02-08 10:13:13 +00:00
(list
2024-02-07 17:24:32 +00:00
2024-02-08 10:13:13 +00:00
(simple-service 'variant-packages-service
home-channels-service-type
(list
(channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
(branch "master")
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
(channel
(name 'zzkt)
(url "https://gitlab.com/zzkt/guix")
(branch "endless")
(commit
"ef1868ed9bdcf1a49771442e405bd88207b3ab0c")
(introduction
(make-channel-introduction
"fc0ada85de1980e1fc9ee50672d827c0c17c3e7d"
(openpgp-fingerprint
"24A7 4604 91E6 A60F 5BB4 A00F 989F 5E6E DB47 8160"))))))
2024-02-07 17:24:32 +00:00
2024-02-08 10:13:13 +00:00
(simple-service 'variant-env-vars-service
home-environment-variables-service-type
2024-03-04 21:54:13 +00:00
`(("GUIX_LOCPATH" . "$HOME/.guix-profile/lib/locale")
("NOTMUCH_PROFILE" . "$XDG_CONFIG_HOME/notmuch/notmuch.conf")
2024-02-08 10:13:13 +00:00
("LD_LIBRARY_PATH" . "$HOME/.guix-profile/lib")
2024-03-07 14:41:42 +00:00
("GPG_TTY" . "$TTY")
2024-02-08 10:13:13 +00:00
("SHELL" . ,(file-append zsh "/bin/zsh"))))
2024-02-07 17:24:32 +00:00
2024-02-07 17:42:27 +00:00
(service home-zsh-service-type
(home-zsh-configuration
;; configs in $XDG_CONFIG_HOME/zsh
(xdg-flavor? #t)
(environment-variables
2024-02-08 10:13:13 +00:00
'(("HISTFILE" . "$XDG_CONFIG_HOME/zsh/.history")
2024-02-07 17:42:27 +00:00
("HISTSIZE" . "800000")
("SAVEHIST" . "800000")))
(zshenv
(list (local-file ".zshenv" "zshenv")))
(zshrc
(list (local-file ".zshrc" "zshrc")))))
2024-02-07 17:24:32 +00:00
2024-02-07 17:42:27 +00:00
(service home-gpg-agent-service-type
(home-gpg-agent-configuration
(pinentry-program
2024-02-23 12:09:11 +00:00
(file-append pinentry-qt "/bin/pinentry-qt"))
2024-02-07 17:42:27 +00:00
(ssh-support? #t)))
2024-02-07 17:24:32 +00:00
2024-02-07 17:42:27 +00:00
(service home-dotfiles-service-type
(home-dotfiles-configuration
(directories (list "dotfiles"))))
2024-02-07 17:24:32 +00:00
2024-03-04 21:54:13 +00:00
;; ssh config in 'dotfiles'
2024-02-07 17:42:27 +00:00
(service home-dbus-service-type)
2024-02-07 17:24:32 +00:00
2024-02-07 17:42:27 +00:00
(service home-pipewire-service-type
(home-pipewire-configuration
(enable-pulseaudio? #t)))
2024-02-07 17:24:32 +00:00
2024-02-09 13:01:22 +00:00
)) ;; end services
2024-02-08 10:13:13 +00:00
2024-02-09 13:01:22 +00:00
) ;; end home-environment