42 lines
2 KiB
Scheme
42 lines
2 KiB
Scheme
(use-modules (gnu home)
|
|
(gnu home services)
|
|
(gnu packages)
|
|
(gnu services)
|
|
(guix gexp)
|
|
(gnu home services shells))
|
|
|
|
(home-environment
|
|
(packages (specifications->packages
|
|
(list
|
|
"helix")))
|
|
|
|
(services (append (list
|
|
(service home-bash-service-type
|
|
(home-bash-configuration
|
|
(aliases '(("grep" . "grep --color=auto")
|
|
("la" . "ls -lah --color=auto")
|
|
("ll" . "ls -l")
|
|
("ls" . "ls -p --color=auto")))
|
|
(bashrc (list (local-file
|
|
"/home/muon/src/guix-config/home/dotfiles/.bashrc"
|
|
"bashrc")))
|
|
(bash-profile (list (local-file
|
|
"/home/muon/src/guix-config/home/dotfiles/.bash_profile"
|
|
"bash_profile")))))
|
|
|
|
(service home-inputrc-service-type
|
|
(home-inputrc-configuration
|
|
(variables
|
|
'(("editing-mode" . "vi")
|
|
("keymap" . "vi-insert")
|
|
("show-mode-in-prompt" . "on")
|
|
("keyseq-timeout" . "50")
|
|
("vi-cmd-mode-string" . "\\1\\e[2 q\\2")
|
|
("vi-ins-mode-string" . "\\1\\e[6 q\\2")))))
|
|
|
|
(simple-service 'my-env-vars home-environment-variables-service-type
|
|
'(("SSL_CERT_DIR" . "$HOME/.guix-profile/etc/ssl/certs")
|
|
("SSL_CERT_FILE" . "$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt")
|
|
("GIT_SSL_CAINFO" . "$SSL_CERT_FILE"))))
|
|
|
|
%base-home-services)))
|