Browse Source

fix guix profile variable not set in zshrc

master
Alexandros Theodotou 2 years ago
parent
commit
c78a99b418
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 23
      etc/config.scm
  2. 2
      home/.vimrc
  3. 9
      home/.zshrc
  4. 1
      profile.scm

23
etc/config.scm

@ -10,7 +10,8 @@ @@ -10,7 +10,8 @@
;; Collect garbage 1 minutes after midnight every day.
;; The job's action is a shell command.
#~(job "1 0 * * *" ;Vixie cron syntax
"guix pull && guix upgrade && guix gc -F 1G"))
"guix pull && guix upgrade && guix gc -F 1G"
#:user "alex")) ; run as user
(define borg-backup-job
;; Run the backup script 5 minutes after midnight every day
@ -34,18 +35,18 @@ @@ -34,18 +35,18 @@
(name "ja_JP.utf8") (source "ja_JP"))
%default-locale-definitions))
(timezone "Europe/London")
(keyboard-layout (keyboard-layout "us" "mac"))
(keyboard-layout
(keyboard-layout "us" "mac"))
(bootloader
(bootloader-configuration
(bootloader grub-efi-bootloader)
(target "/boot/efi")
(bootloader grub-bootloader)
(target "/dev/sda")
(keyboard-layout keyboard-layout)))
(swap-devices (list "/dev/sda3"))
(file-systems
(cons* (file-system
(mount-point "/")
(mount-point "/boot")
(device
(uuid "474736e5-18b3-446d-b080-7f1ee3049d29"
(uuid "313090d7-42c7-436a-b8b8-7ae92a1a69cd"
'ext4))
(type "ext4"))
(file-system
@ -55,9 +56,11 @@ @@ -55,9 +56,11 @@
'ext4))
(type "ext4"))
(file-system
(mount-point "/boot/efi")
(device (uuid "6B6C-8FE5" 'fat32))
(type "vfat"))
(mount-point "/")
(device
(uuid "24b2d106-7133-4747-937a-2d999eed03c2"
'ext4))
(type "ext4"))
%base-file-systems))
(host-name "alex-guix")
(users (cons* (user-account

2
home/.vimrc

@ -42,6 +42,7 @@ Plug 'w0ng/vim-hybrid' " theme @@ -42,6 +42,7 @@ Plug 'w0ng/vim-hybrid' " theme
"Plug 'tenfyzhong/vim-gencode-cpp'
"Plug 'leafgarland/typescript-vim'
Plug 'tikhomirov/vim-glsl'
Plug 'HiPhish/guile.vim'
" Initialize plugin system
call plug#end()
@ -234,6 +235,7 @@ set secure @@ -234,6 +235,7 @@ set secure
command! -nargs=* Wrap set wrap linebreak nolist
au BufNewFile,BufRead CMakeLists.txt set filetype=cmake
au BufNewFile,BufRead *.j2.inc set filetype=jinja
au FileType * autocmd BufWritePre <buffer> %s/\s\+$//e " strip trailing whitespace on save
au FileType html setlocal nosmartindent
au FileType xml,html,css,js,json,ts,ruby setlocal ts=2 sw=2 sts=2

9
home/.zshrc

@ -1,3 +1,12 @@ @@ -1,3 +1,12 @@
# allow bash completion
autoload bashcompinit
bashcompinit
# source guix environment
GUIX_PROFILE="/home/alex/.guix-profile"
. "$GUIX_PROFILE/etc/profile"
PATH="$HOME/.config/guix/current/bin:$PATH"
# needed for guix autocomplete
fpath=(/run/current-system/profile/share/zsh/site-functions/ $fpath)

1
profile.scm

@ -62,6 +62,7 @@ @@ -62,6 +62,7 @@
jack-1
jalv
;krita
lcov
libyaml
libsndfile
libsamplerate

Loading…
Cancel
Save