Update home configurations
homes/modules/gnu/home/services/openbox.scm
| 99 | 99 | (define (add-openbox-configuration config) | |
| 100 | 100 | (match config | |
| 101 | 101 | (($ <home-openbox-configuration> autostart environ menus root-elements rc) | |
| 102 | - | `(("config/openbox/menu.xml" | |
| 102 | + | `((".config/openbox/menu.xml" | |
| 103 | 103 | ,(computed-file "menu.xml" (generate-openbox-menu menus root-elements))) | |
| 104 | - | ("config/openbox/autostart" ,(openbox-autostart autostart)) | |
| 105 | - | ("config/openbox/environment" ,(openbox-environment environ)) | |
| 106 | - | ("config/openbox/rc.xml" ,(openbox-rc rc)))))) | |
| 104 | + | (".config/openbox/autostart" ,(openbox-autostart autostart)) | |
| 105 | + | (".config/openbox/environment" ,(openbox-environment environ)) | |
| 106 | + | (".config/openbox/rc.xml" ,(openbox-rc rc)))))) | |
| 107 | 107 | ||
| 108 | 108 | (define home-openbox-service-type | |
| 109 | 109 | (service-type (name 'home-openbox) |
homes/sybil.scm
| 34 | 34 | (games packages sunless-skies) | |
| 35 | 35 | (nongnu packages steam-client) | |
| 36 | 36 | (guix gexp) | |
| 37 | + | ||
| 38 | + | (srfi srfi-11); let-values | |
| 37 | 39 | ) | |
| 38 | 40 | ||
| 39 | 41 | (define openbox-environment | |
… | |||
| 41 | 43 | export GTK_IM_MODULE=ibus | |
| 42 | 44 | export XMODIFIERS=@im=ibus | |
| 43 | 45 | export QT_IM_MODULE=ibus | |
| 44 | - | export GUIX_GTK2_IM_MODULE_FILE=/home/tyreunom/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache | |
| 45 | - | export GUIX_GTK3_IM_MODULE_FILE=/home/tyreunom/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache")) | |
| 46 | + | export GUIX_GTK2_IM_MODULE_FILE=/home/tyreunom/.guix-home/profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache | |
| 47 | + | export GUIX_GTK3_IM_MODULE_FILE=/home/tyreunom/.guix-home/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache")) | |
| 46 | 48 | ||
| 47 | 49 | (define openbox-autostart | |
| 48 | 50 | (computed-file "autostart" | |
… | |||
| 56 | 58 | (format #t "export GTK_IM_MODULE=ibus | |
| 57 | 59 | export XMODIFIERS=@im=ibus | |
| 58 | 60 | export QT_IM_MODULE=ibus | |
| 59 | - | export GUIX_GTK2_IM_MODULE_FILE=~~/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache | |
| 60 | - | export GUIX_GTK3_IM_MODULE_FILE=~~/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache | |
| 61 | - | IBUS_COMPONENT_PATH=~~/.guix-profile/share/ibus/component ~a -drx~%" #$(file-append ibus "/bin/ibus-daemon")))))) | |
| 61 | + | export GUIX_GTK2_IM_MODULE_FILE=~~/.guix-home/profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache | |
| 62 | + | export GUIX_GTK3_IM_MODULE_FILE=~~/.guix-home/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache | |
| 63 | + | IBUS_COMPONENT_PATH=~~/.guix-home/profile/share/ibus/component ~a -drx~%" #$(file-append ibus "/bin/ibus-daemon")))))) | |
| 62 | 64 | (define openbox-rc (local-file "files/openbox/rc.xml")) | |
| 63 | 65 | ||
| 64 | 66 | (define tyreunom-openbox-configuration | |
… | |||
| 150 | 152 | ||
| 151 | 153 | (home-environment | |
| 152 | 154 | (packages | |
| 153 | - | (map specification->package+output | |
| 155 | + | (map (lambda (package) | |
| 156 | + | (let-values (((package output) (specification->package+output package))) | |
| 157 | + | (list package output))) | |
| 154 | 158 | (list "arc-theme" | |
| 155 | 159 | "arc-icon-theme" | |
| 156 | 160 | "hicolor-icon-theme" | |
… | |||
| 158 | 162 | ;; utilities | |
| 159 | 163 | "ibus" | |
| 160 | 164 | "ibus-anthy" | |
| 165 | + | "dconf" | |
| 166 | + | "xdg-user-dirs" | |
| 161 | 167 | ||
| 162 | 168 | ;; gui | |
| 163 | 169 | "feh" | |
… | |||
| 229 | 235 | `(("GTK_IM_MODULE" . "ibus") | |
| 230 | 236 | ("XMODIFIERS" . "@im=ibus") | |
| 231 | 237 | ("QT_IM_MODULE" . "ibus") | |
| 232 | - | ("GUIX_GTK2_IM_MODULE_FILE" . "/home/tyreunom/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache") | |
| 233 | - | ("GUIX_GTK3_IM_MODULE_FILE" . "/home/tyreunom/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache") | |
| 238 | + | ("GUIX_GTK2_IM_MODULE_FILE" . "/home/tyreunom/.guix-home/profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache") | |
| 239 | + | ("GUIX_GTK3_IM_MODULE_FILE" . "/home/tyreunom/.guix-home/profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache") | |
| 234 | 240 | ("EDITOR" . "nvim"))) | |
| 235 | 241 | (bashrc | |
| 236 | 242 | (list | |
… | |||
| 239 | 245 | alias info=\"info --vi-keys\""))))) | |
| 240 | 246 | (service home-openbox-service-type tyreunom-openbox-configuration) | |
| 241 | 247 | (simple-service 'nvim-config home-files-service-type | |
| 242 | - | `(("config/nvim/init.vim" ,(plain-file "init.vim" "set tabstop=4 | |
| 248 | + | `((".config/nvim/init.vim" ,(plain-file "init.vim" "set tabstop=4 | |
| 243 | 249 | set colorcolumn=80 | |
| 244 | 250 | set expandtab | |
| 245 | 251 | autocmd FileType latex,tex,text,md,markdown setlocal spell")))) | |
| 246 | 252 | (simple-service 'xfce4-terminal home-files-service-type | |
| 247 | - | `(("config/xfce4/terminal/terminalrc" ,(local-file "files/xfce4-terminal/terminalrc")))) | |
| 253 | + | `((".config/xfce4/terminal/terminalrc" ,(local-file "files/xfce4-terminal/terminalrc")))) | |
| 248 | 254 | (simple-service 'guile home-files-service-type | |
| 249 | - | `(("guile" ,(local-file "files/guilerc")))) | |
| 255 | + | `((".guile" ,(local-file "files/guilerc")))) | |
| 250 | 256 | (simple-service 'git home-files-service-type | |
| 251 | - | `(("gitconfig" ,(local-file "files/gitconfig")))) | |
| 257 | + | `((".gitconfig" ,(local-file "files/gitconfig")))) | |
| 252 | 258 | (simple-service 'gtk home-files-service-type | |
| 253 | - | `(("gtkrc-2.0" ,(plain-file "gtkrc-2.0" | |
| 259 | + | `((".gtkrc-2.0" ,(plain-file "gtkrc-2.0" | |
| 254 | 260 | "gtk-theme-name=\"Arc-Dark\" | |
| 255 | 261 | gtk-icon-theme-name=\"Arc\"")) | |
| 256 | - | ("config/gtk-3.0/settings.ini" ,(plain-file "settings.ini" | |
| 262 | + | (".config/gtk-3.0/settings.ini" ,(plain-file "settings.ini" | |
| 257 | 263 | "[Settings] | |
| 258 | 264 | gtk-theme-name=Arc-Dark | |
| 259 | 265 | gtk-icon-theme-name=Arc"))))))) | |
homes/tachikoma.scm
| 238 | 238 | alias info=\"info --vi-keys\""))))) | |
| 239 | 239 | (service home-openbox-service-type tyreunom-openbox-configuration) | |
| 240 | 240 | (simple-service 'nvim-config home-files-service-type | |
| 241 | - | `(("config/nvim/init.vim" ,(plain-file "init.vim" "set tabstop=4 | |
| 241 | + | `((".config/nvim/init.vim" ,(plain-file "init.vim" "set tabstop=4 | |
| 242 | 242 | set colorcolumn=80 | |
| 243 | 243 | set expandtab | |
| 244 | 244 | autocmd FileType latex,tex,text,md,markdown setlocal spell")))) | |
| 245 | 245 | (simple-service 'xfce4-terminal home-files-service-type | |
| 246 | - | `(("config/xfce4/terminal/terminalrc" ,(local-file "files/xfce4-terminal/terminalrc")))) | |
| 246 | + | `((".config/xfce4/terminal/terminalrc" ,(local-file "files/xfce4-terminal/terminalrc")))) | |
| 247 | 247 | (simple-service 'guile home-files-service-type | |
| 248 | - | `(("guile" ,(local-file "files/guilerc")))) | |
| 248 | + | `((".guile" ,(local-file "files/guilerc")))) | |
| 249 | 249 | (simple-service 'git home-files-service-type | |
| 250 | - | `(("gitconfig" ,(local-file "files/gitconfig")))) | |
| 250 | + | `((".gitconfig" ,(local-file "files/gitconfig")))) | |
| 251 | 251 | (simple-service 'gtk home-files-service-type | |
| 252 | - | `(("gtkrc-2.0" ,(plain-file "gtkrc-2.0" | |
| 252 | + | `((".gtkrc-2.0" ,(plain-file "gtkrc-2.0" | |
| 253 | 253 | "gtk-theme-name=\"Arc-Dark\" | |
| 254 | 254 | gtk-icon-theme-name=\"Arc\"")) | |
| 255 | 255 | ("config/gtk-3.0/settings.ini" ,(plain-file "settings.ini" |
homes/test/.bash_profile unknown status 1
| 1 | + | # Setups system and user profiles and related variables | |
| 2 | + | # /etc/profile will be sourced by bash automatically | |
| 3 | + | # Setups home environment profile | |
| 4 | + | if [ -f ~/.profile ]; then source ~/.profile; fi | |
| 5 | + | ||
| 6 | + | # Honor per-interactive-shell startup file | |
| 7 | + | if [ -f ~/.bashrc ]; then source ~/.bashrc; fi | |
| 8 | + | export GTK_IM_MODULE=ibus | |
| 9 | + | export XMODIFIERS=@im=ibus | |
| 10 | + | export QT_IM_MODULE=ibus | |
| 11 | + | export GUIX_GTK2_IM_MODULE_FILE=/home/tyreunom/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache | |
| 12 | + | export GUIX_GTK3_IM_MODULE_FILE=/home/tyreunom/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache | |
| 13 | + | export EDITOR=nvim |
homes/test/.bashrc unknown status 1
| 1 | + | # Bash initialization for interactive non-login shells and | |
| 2 | + | # for remote shells (info "(bash) Bash Startup Files"). | |
| 3 | + | ||
| 4 | + | # Export 'SHELL' to child processes. Programs such as 'screen' | |
| 5 | + | # honor it and otherwise use /bin/sh. | |
| 6 | + | export SHELL | |
| 7 | + | ||
| 8 | + | if [[ $- != *i* ]] | |
| 9 | + | then | |
| 10 | + | # We are being invoked from a non-interactive shell. If this | |
| 11 | + | # is an SSH session (as in "ssh host command"), source | |
| 12 | + | # /etc/profile so we get PATH and other essential variables. | |
| 13 | + | [[ -n "$SSH_CLIENT" ]] && source /etc/profile | |
| 14 | + | ||
| 15 | + | # Don't do anything else. | |
| 16 | + | return | |
| 17 | + | fi | |
| 18 | + | ||
| 19 | + | # Source the system-wide file. | |
| 20 | + | if [[ -e /etc/bashrc ]]; then | |
| 21 | + | source /etc/bashrc | |
| 22 | + | fi | |
| 23 | + | ||
| 24 | + | # Adjust the prompt depending on whether we're in 'guix environment'. | |
| 25 | + | if [ -n "$GUIX_ENVIRONMENT" ] | |
| 26 | + | then | |
| 27 | + | PS1='\u@\h \w [env]\$ ' | |
| 28 | + | else | |
| 29 | + | PS1='\u@\h \w\$ ' | |
| 30 | + | fi | |
| 31 | + | alias ls='ls -p --color=auto' | |
| 32 | + | alias ll='ls -l' | |
| 33 | + | alias grep='grep --color=auto' | |
| 34 | + | alias vim=nvim | |
| 35 | + | alias info="info --vi-keys" |