[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,9 +14,27 @@
(load "packages.scm") (load "packages.scm")
(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"))))))))
(home-environment (home-environment
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
(packages (append (specifications->packages (packages (append (specifications->packages
(list (list
"guile-hoot" "guile-hoot"
@ -27,7 +45,6 @@
"fzf")) "fzf"))
(list (list
zellij))) zellij)))
(services (services
(list (list
(service oh-my-zsh-service-type) (service oh-my-zsh-service-type)
@ -35,3 +52,4 @@
(service home-zsh-service-type (service home-zsh-service-type
(home-zsh-configuration (home-zsh-configuration
(zshrc (list (local-file "files/zshrc")))))))) (zshrc (list (local-file "files/zshrc"))))))))
)