;; 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. (define-module (home) #:use-module (guix gexp) #:use-module (gnu) #:use-module (gnu packages) #:use-module (gnu packages gnupg) #:use-module (gnu home) #:use-module (gnu home services) #:use-module (gnu home services dotfiles) #:use-module (gnu home services shells) #:use-module (gnu home services desktop) #:use-module (gnu home services gnupg) #:use-module (dwl-guile home-service) #:use-module (dwl-guile patches) #:export (home)) (home-environment ;; Below is the list of packages that will show up in your ;; Home profile, under ~/.guix-home/profile. (packages (specifications->packages (list "anki" "emacs-pgtk" "torbrowser" "mu" "perl" "tree" "iptables" ;; iptables for tailscale "hyfetch" "font-iosevka-aile" "font-jetbrains-mono" "isync" "emacs-nov-el" "syncthing" "emacs-pdf-tools" "ungoogled-chromium" "python-lsp-server" "transmission" "mpv" "yt-dlp" "icecat" "dino" "0ad" "git" "torbrowser" "emacs-elpy" "python-mypy" "fuzzel" "wl-clipboard" "alacritty" "wtype" "emacs-geiser" "emacs-geiser-guile" "password-store" "emacs-ox-haunt" "sbcl" "curl" "emacs-vterm" "emacs-jabber" "bind" "nmap" "hunspell" "guile-syntax-highlight" "hunspell-dict-en-us" "mlocate" "rsync" "grimshot" "nyxt" "haunt" "texlive" "texlive-cbfonts" "network-manager-applet" "swayidle" "wl-clipboard" "btop" "htop" "hugo-bin" "net-tools" "gnupg"))) ;; 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 (guix-defaults? #t) (aliases '(("ga" . "git add") ("gaa" . "git add .") ("gc" . "git commit -m") ("gp" . "git push -u origin") ("gpm" . "git push -u origin master") ("grep" . "grep --color=auto") ("gs" . "git status") ("klight" . "brightnessctl --device='\\''tpacpi::kbd_backlight'\\'' set 1") ("ll" . "ls -lah --color") ("logout" . "pkill -U $USER") ("ls" . "ls --color") ("o" . "emacsclient -n") ("weather" . "curl wttr.in") ("ytd" . "yt-dlp") ("gx" . "guix"))) (bashrc (list (local-file "/home/thanos/dotfiles/bash-prompt.sh" #:recursive? #f))))) (service home-dotfiles-service-type (home-dotfiles-configuration (directories '("/home/thanos/dotfiles/")) (excluded '(".*~" ".*\\.swp" "\\.git" "\\.gitignore" "vimium-options.json" "README" "LICENSE" ".*\\.scm" "__pycache__" "bash-prompt.sh")) (layout 'plain))) ;; Env variables (simple-service 'profile-service-type home-environment-variables-service-type '(("VISUAL" . "emacsclient") ("EDITOR" . "emacsclient") ("GTK_THEME" . "Adwaita-dark") ("XDG_CURRENT_DESKTOP" . "sway") ("XDG_SESSION_TYPE" . "wayland") ("BROWSER" . "icecat") ("XDG_SCREENSHOTS_DIR" . "/home/$USER/Pictures/screenshots/") ("PATH" . "/home/$USER/.local/bin:$PATH"))) ;; GPG Configuration (service home-gpg-agent-service-type (home-gpg-agent-configuration (pinentry-program (file-append pinentry-gtk2 "/bin/pinentry-gtk-2")) (ssh-support? #t) (default-cache-ttl 28800) (max-cache-ttl 28800) (default-cache-ttl-ssh 28800) (max-cache-ttl-ssh 28800))))))