diff options
Diffstat (limited to '.config/guix-builds/bdunahu.scm')
-rw-r--r-- | .config/guix-builds/bdunahu.scm | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/.config/guix-builds/bdunahu.scm b/.config/guix-builds/bdunahu.scm new file mode 100644 index 0000000..65e5886 --- /dev/null +++ b/.config/guix-builds/bdunahu.scm @@ -0,0 +1,118 @@ +;; add this directory to the load path. +(add-to-load-path (dirname (current-filename))) + +(use-modules (host-instance) + (gnu home) + (gnu packages) + (gnu packages gnupg) + (gnu services) + (guix gexp) + (gnu home services shepherd) + (gnu home services xdg) + (gnu home services shells) + (gnu home services gnupg) + (gnu home services desktop) + (gnu home services pm) + (gnu home services ssh)) + +(home-environment + ;; List of packages that will show up + ;; under ~/.guix-home/profile. + (packages (specifications->packages (list "aspell" + "aspell-dict-en" + ;; "dmenu" + "emacs-all-the-icons" + "emacs-auctex" + "emacs-company" + "emacs-ednc" + "emacs-emms" + "emacs-exwm" + "emacs-guix" + "emacs-magit" + "emacs-org-roam" + "emacs-pinentry" + "emacs-slime" + "emacs-vertico" + "feh" + "flameshot" + "gimp" + "gnupg" + "icecat" + "libnotify" + ;; "mpc" + ;; "mpv" + "password-store" + "pass-otp" + "pinentry-emacs" + "rsync" + "sbcl" + "stow" + ;; "texlive" + "xset" + "yt-dlp" + "zathura" + "zathura-pdf-poppler"))) + + ;; Below is the list of Home services. To search for available + ;; services, run 'guix home search KEYWORD' in a terminal. + (services + (list (service home-xdg-user-directories-service-type + (home-xdg-user-directories-configuration + (desktop "$HOME") + (documents "$HOME") + (download "$HOME/dl") + (music "$HOME/media") + (pictures "$HOME/media") + (publicshare "$HOME") + (templates "$HOME") + (videos "$HOME/media"))) + (service home-bash-service-type + (home-bash-configuration + (aliases '(("cp" . "cp -i") + ("grep" . "grep --color=auto") + ("ll" . "ls -l") + ("ls" . "ls -p --color=auto") + ("mkd" . "mkdir -pv") + ("mv" . "mv -i") + ("rm" . "rm -i") + ("vi" . "vim") + ("ytta" . "yt-dlp --extract-audio --format bestaudio/best") + ("yttv" . "yt-dlp -f b"))) + (bashrc (list (local-file + "/home/bdunahu/.config/guix-builds//.bashrc" + "bashrc"))))) + (service home-openssh-service-type + (home-openssh-configuration + (hosts + (list (openssh-host (name "hati") + (host-name "192.168.1.68") + (user "bdunahu")) + (openssh-host (name "vali") + (host-name "192.168.1.64") + (user "bdunahu")) + (openssh-host (name "perch") + (host-name "perch.cs.colostate.edu") + (user "bdunahu")))))) + (service home-gpg-agent-service-type + (home-gpg-agent-configuration + (pinentry-program + (file-append pinentry-emacs "/bin/pinentry-emacs")) + (ssh-support? #t))) + (service home-shepherd-service-type) + + + (if (equal? host-name "vali") + (service home-batsignal-service-type + (home-batsignal-configuration + (warning-level 35) + (critical-level 15) + (danger-level 5))) + (service home-xmodmap-service-type + (home-xmodmap-configuration + (key-map '(("remove Lock" . "Caps_Lock") + ("remove Control" . "Control_L") + ("keysym Control_L" ."Caps_Lock") + ("keysym Caps_Lock" . "Control_L") + ("add Lock" . "Caps_Lock") + ("add Control" . "Control_L")))))) + ))) |