1
0
Fork 0
guix-home-laptop/home-configuration.scm

187 lines
5.6 KiB
Scheme

(use-modules (gnu home)
(gnu packages)
(gnu packages gnupg)
(gnu services)
(guix gexp)
(guix channels)
(gnu home services)
(gnu home services shells)
(gnu home services symlink-manager)
(gnu home services guix)
(gnu home services gnupg)
(gnu home services ssh)
(gnu home services mail)
(gnu home services syncthing))
(home-environment
(packages (specifications->packages (list "emacs-guix"
"emacs-geiser-guile"
"emacs-geiser"
"coreutils"
"findutils"
"util-linux"
; "shadow" - conflicts with host distro (needs Shepherd?)
"iputils"
"procps"
"psmisc"
"distrobox"
"gzip"
"tar"
"diffutils"
"iproute2"
"ncurses"
"bzip2"
"xz"
"lmms"
"psmisc"
"curl"
"pinentry-tty"
"wget"
"man-db"
"mailutils"
"lsof"
"strace"
"tcpdump"
"file"
"e2fsprogs"
"guile"
"guix"
"speedtest-cli"
"emacs"
"make"
"password-store"
"pass-otp"
"rbw"
"just"
"bat"
"cups"
"kdenlive"
"weechat"
; "telegram-desktop" - libcamera broken
"nss-certs"
; "librewolf" - libcamera broken
"icecat"
; "ungoogled-chromium-wayland" - libcamera broken
"icedove-wayland"
; "swaylock-effects" - conflicts with host distro
; "swaynotificationcenter" - conflicts with host distro
; "waybar" - conflicts with host distro
"pijul"
"git"
"git:send-email"
"starship"
; "hyprland" - conflicts with host distro
; "inkscape" - libcamera broken
"lm-sensors"
"gimp"
"flatpak"
"libreoffice"
"kitty"
"dolphin"
"keepassxc"
"htop"
"anki"
"audacity"
; "calibre" - build process gets stuck
"mpv"
"feh"
"fish"
"fish-foreign-env"
; "logseq" - no aarch64 build
; "obs" - libcamera broken
"qbittorrent"
"ranger"
"speedcrunch"
"vscodium"
"wireshark"
"zathura"
"zathura-pdf-mupdf"
"helix"
; "monero-gui" - tests for dependency fail
"vim"
; "firefox" - tests for dependency fail
"yt-dlp"
"neovim"
"neomutt"
"acpi"
"nushell")))
(services
(list (service home-syncthing-service-type)
(service home-openssh-service-type
(home-openssh-configuration
(hosts
(list (openssh-host (name "utdallas1")
(host-name "cs1.utdallas.edu")
(user "edr220000"))
(openssh-host (name "utdallas2")
(host-name "cs2.utdallas.edu")
(user "edr220000"))
(openssh-host (name "utdallas3")
(host-name "cs3.utdallas.edu")
(user "edr220000"))
(openssh-host (name "utdpub")
(host-name "pubssh.utdallas.edu")
(user "edr220000"))
(openssh-host (name "utdallas1-proxy")
(host-name "cs1.utdallas.edu")
(user "edr220000")
(proxy
(list (proxy-jump
(host-name "pubssh.utdallas.edu")
(user "edr220000")))))
(openssh-host (name "utdallas3-proxy")
(host-name "cs3.utdallas.edu")
(user "edr220000")
(proxy
(list (proxy-jump
(host-name "pubssh.utdallas.edu")
(user "edr220000")))))
(openssh-host (name "proxmox")
(host-name "10.0.0.2")
(user "ethan"))
(openssh-host (name "docker")
(host-name "10.10.10.8")
(user "sudoer777"))
(openssh-host (name "git.sudoer777.dev")
(host-name "git.sudoer777.dev")
(user "git")
(port 222))))))
(service home-fish-service-type
(home-fish-configuration
(config
(list
(local-file ".config/fish/config.fish")))))
(service home-files-service-type
`((".emacs.d/init.el" ,(local-file "./.emacs.d/init.el"))
(".gitconfig" ,(local-file "./gitconfig"))
(".gnupg/common.conf" ,(local-file "./.gnupg/common.conf"))))
(service home-xdg-configuration-files-service-type
`(("weechat/weechat.conf" ,(local-file "./.config/weechat/weechat.conf"))
("zathura/zathurarc" ,(local-file "./.config/zathura/zathurarc"))
("rbw/config.json" ,(local-file "./.config/rbw/config.json"))
("guix/channels.scm" ,(local-file "./channels.scm.lock"))))
(service home-gpg-agent-service-type
(home-gpg-agent-configuration
(pinentry-program
(file-append pinentry-tty "/bin/pinentry"))
(ssh-support? #t)))
(service home-msmtp-service-type
(home-msmtp-configuration
(accounts
(list
(msmtp-account
(name "default")
(configuration
(msmtp-configuration
(host "smtp.fastmail.com")
(port 465)
(auth? #t)
(user "fastmail@ethanreece.com")
(from "guix-home@ethanreece.com")
(tls? #t)
(tls-starttls? #f)
(tls-trust-file "~/.guix-home/profile/etc/ssl/certs/ca-certificates.crt")
(password-eval "pass Mail/fastmail@ethanreece.com"))))))))
(service home-symlink-manager-service-type))))