Compare commits

..

No commits in common. "f198c3b83de5e9f1b475f331494b2313197bed30" and "6be40766115c849693465b46d3e594f291dc2cbe" have entirely different histories.

3 changed files with 15 additions and 70 deletions

View file

@ -73,7 +73,6 @@ export LC_COLLATE=C
. $HOME/.guix-home/setup-environment
export GUIX_PROFILE="$HOME/.guix-home/profile"
export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
export ZSH_CUSTOM="$GUIX_PROFILE/share/zsh"
.reload() {
autoload compinit && compinit
@ -98,5 +97,3 @@ eval "$(fzf --zsh)"
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(zellij setup --generate-auto-start zsh)"

View file

@ -14,24 +14,25 @@
(load "packages.scm")
(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
"guile-hoot"
"guile-next"
"zsh"
"zsh-autosuggestions"
"zsh-syntax-highlighting"
"fzf"))
(list
zellij)))
(packages (specifications->packages (list "guile-hoot"
"guile-next"
"zsh"
"zsh-autosuggestions"
"zsh-syntax-highlighting"
"fzf")))
(services
(list
(service oh-my-zsh-service-type)
(service home-emacs-service-type)
(service oh-my-zsh-service-type '())
(service home-zsh-service-type
(home-zsh-configuration
(zshrc (list (local-file "files/zshrc"))))))))
(zshrc (list (local-file "files/zshrc")))
))
)
)
)

View file

@ -4,8 +4,6 @@
(guix git-download)
(guix utils)
(gnu packages)
(gnu packages emacs)
(gnu home services shepherd)
(guix build-system copy)
(gnu services))
@ -38,55 +36,4 @@ your morning, and an auto-update tool that makes it easy to keep up with the lat
(extensions
(list (service-extension
home-files-service-type
(lambda (_) (list `(".oh-my-zsh" ,oh-my-zsh))))))
(default-value '())))
(define-public zellij
(package
(name "zellij")
(version "0.41.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/zellij-org/zellij/releases/download/v"
version "/zellij-x86_64-unknown-linux-musl.tar.gz"))
(sha256
(base32 "113c9agbx36hiq6a1kf2jydrv3h3cd8s0albnwxi0qd1c0n1rxyw"))))
(build-system copy-build-system)
(arguments
(list
#:substitutable? #f
#:install-plan
#~'(("zellij" "bin/"))
#:phases
#~(modify-phases %standard-phases
(replace 'unpack
(lambda* (#:key source #:allow-other-keys)
(invoke "tar" "-xvf" source))))))
(home-page "https://github.com/zellij-org/zellij")
(synopsis "A terminal workspace with batteries included.")
(description
"A terminal workspace with batteries included.")
(license expat)))
(define (home-emacs-shepherd-service config)
(list
(shepherd-service
(documentation "Start Emacs")
(provision '(emacs))
(auto-start? #t)
(start
#~(make-forkexec-constructor
(list #$(file-append emacs "/bin/emacs")
"--fg-daemon")
#:log-file (format #f "~a/.local/var/log/emacs.log" (getenv "HOME"))))
(stop #~(make-kill-destructor)))))
(define home-emacs-service-type
(service-type (name 'emacs-configuration)
(extensions
(list (service-extension
home-shepherd-service-type
home-emacs-shepherd-service)))
(default-value '())
(description "Configures Emacs and installs packages to home-profile.")))
(lambda (_) (list `(".oh-my-zsh" ,oh-my-zsh))))))))