Added zsh and set prompt.

Set Kakoune colour scheme.
This commit is contained in:
vorboyvo 2024-03-21 01:41:11 -04:00
parent e83eb62626
commit 28efce9960
3 changed files with 9 additions and 1 deletions

View file

@ -108,6 +108,7 @@
home = "/home/alice";
extraGroups = [ "wheel" "networkmanager" "video" ] ++ [ "adbusers" ]; # Enable 'sudo' for the user.
initialPassword = "manysuchcases";
shell = pkgs.zsh;
};
home-manager.users.alice = import ./home.nix;
@ -155,6 +156,9 @@
# Enable adb
programs.adb.enable = true;
# Enable zsh; necessary to switch
programs.zsh.enable = true;
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;

View file

@ -63,10 +63,13 @@ in
programs.home-manager.enable = true;
# Enabling bash from home-manager means environment variables set by HM get set correctly
programs.bash = {
# Worst case, fallback to bash.
programs.zsh = {
enable = true;
profileExtra = ''
export VISUAL=nvim
# Set prompt
PS1='[%n@%m %~]%(!.#.$)'
# Enable fcitx for sway
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx

View file

@ -1,6 +1,7 @@
{
enable = true;
config = {
colorScheme = "tomorrow-night";
numberLines = {
enable = true;
highlightCursor = true;