diff --git a/files/bashrc b/files/bashrc new file mode 100644 index 0000000..b1adf16 --- /dev/null +++ b/files/bashrc @@ -0,0 +1,8 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +exec zsh diff --git a/home-configuration.scm b/home-configuration.scm index dda6af3..2a55ac8 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -14,24 +14,42 @@ (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))) +(if (equal? "lighthouse" (getlogin)) + (home-environment + (packages (append (specifications->packages + (list + "zsh" + "zsh-autosuggestions" + "zsh-syntax-highlighting" + "fzf")) + (list + zellij))) + (services + (list + (service oh-my-zsh-service-type) + (service home-bash-service-type + (home-bash-configuration + (bashrc (list (local-file "files/bashrc"))))) + (service home-zsh-service-type + (home-zsh-configuration + (zshrc (list (local-file "files/zshrc")))))))) - (services - (list - (service oh-my-zsh-service-type) - (service home-emacs-service-type) - (service home-zsh-service-type - (home-zsh-configuration - (zshrc (list (local-file "files/zshrc")))))))) + (home-environment + (packages (append (specifications->packages + (list + "guile-hoot" + "guile-next" + "zsh" + "zsh-autosuggestions" + "zsh-syntax-highlighting" + "fzf")) + (list + zellij))) + (services + (list + (service oh-my-zsh-service-type) + (service home-emacs-service-type) + (service home-zsh-service-type + (home-zsh-configuration + (zshrc (list (local-file "files/zshrc")))))))) + )