[feat] division multiple machine

This commit is contained in:
SouthFox 2024-11-19 23:07:47 +08:00
parent 4e34c5f2ae
commit 57b6504ea2
2 changed files with 46 additions and 20 deletions

8
files/bashrc Normal file
View file

@ -0,0 +1,8 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
exec zsh

View file

@ -14,24 +14,42 @@
(load "packages.scm") (load "packages.scm")
(home-environment (if (equal? "lighthouse" (getlogin))
;; Below is the list of packages that will show up in your (home-environment
;; Home profile, under ~/.guix-home/profile. (packages (append (specifications->packages
(packages (append (specifications->packages (list
(list "zsh"
"guile-hoot" "zsh-autosuggestions"
"guile-next" "zsh-syntax-highlighting"
"zsh" "fzf"))
"zsh-autosuggestions" (list
"zsh-syntax-highlighting" zellij)))
"fzf")) (services
(list (list
zellij))) (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 (home-environment
(list (packages (append (specifications->packages
(service oh-my-zsh-service-type) (list
(service home-emacs-service-type) "guile-hoot"
(service home-zsh-service-type "guile-next"
(home-zsh-configuration "zsh"
(zshrc (list (local-file "files/zshrc")))))))) "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"))))))))
)