blob: 69303bd00d9c0f11b2e06e89c3dfb862406e7e2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
(define-module (shell)
#:use-module (gnu home services)
#:use-module (gnu services)
#:use-module (shell)
#:use-module (gnu home services shells))
(define-public shell-service
(list
(service home-bash-service-type
(home-bash-configuration
(aliases '(("suspend" . "sudo bash -c 'echo mem > /sys/power/state'")
("guix-home" . "RUNNING_GUIX_HOME=1 guix home -L ${HOME}/.config/guix/modules/ reconfigure ${HOME}/.config/guix/${HOSTNAME}.scm")
("guix-system" . "RUNNING_GUIX_HOME=0 sudo guix system -L ${HOME}/.config/guix/modules/ reconfigure ${HOME}/.config/guix/${HOSTNAME}.scm")
("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")))
(environment-variables
'(("BROWSER" . "icecat")))))))
|