pure prompt

This commit is contained in:
Christoph Cullmann 2024-06-25 21:21:57 +02:00
parent 845b4b6997
commit 66ce583ef1
No known key found for this signature in database

View file

@ -342,12 +342,12 @@ in
pdftk pdftk
procs procs
pulseaudio pulseaudio
pure-prompt
pwgen pwgen
qmk qmk
ripgrep ripgrep
scc scc
ssh-audit ssh-audit
starship
sysstat sysstat
tcl tcl
texlive.combined.scheme-small texlive.combined.scheme-small
@ -543,7 +543,6 @@ in
home.stateVersion = "22.11"; home.stateVersion = "22.11";
# zsh with some nice prompt # zsh with some nice prompt
programs.starship.enable = true;
programs.zoxide.enable = true; programs.zoxide.enable = true;
programs.zoxide.options = [ "--cmd" "cd" ]; programs.zoxide.options = [ "--cmd" "cd" ];
programs.zsh.enable = true; programs.zsh.enable = true;
@ -567,10 +566,10 @@ in
extraGroups = [ "vboxusers" "wheel" ]; extraGroups = [ "vboxusers" "wheel" ];
# init password # init password
hashedPassword = builtins.readFile "/data/nixos/password.secret"; hashedPassword = config.users.users.root.hashedPassword;
# use fixed auth keys # use fixed auth keys
openssh.authorizedKeys.keys = pkgs.lib.splitString "\n" (builtins.readFile "/data/nixos/authorized_keys.secret"); openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
}; };
home-manager.users.cullmann = { home-manager.users.cullmann = {
@ -578,7 +577,6 @@ in
home.stateVersion = "22.11"; home.stateVersion = "22.11";
# zsh with some nice prompt and extra main user configuration # zsh with some nice prompt and extra main user configuration
programs.starship.enable = true;
programs.zoxide.enable = true; programs.zoxide.enable = true;
programs.zoxide.options = [ "--cmd" "cd" ]; programs.zoxide.options = [ "--cmd" "cd" ];
programs.zsh = { programs.zsh = {
@ -589,6 +587,9 @@ in
history.share = false; history.share = false;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
# use pure prompt
initExtra = "prompt pure";
# aliases # aliases
shellAliases = { shellAliases = {
# system build/update/cleanup # system build/update/cleanup