diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-06-25 21:21:57 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-06-25 21:21:57 +0200 |
commit | 66ce583ef1ba7c10e4ad2378d54f816c71b5ca3e (patch) | |
tree | 3919661732e45cbda3a7897fd9f05317533abe5e | |
parent | 845b4b6997affebbc445bb90306a8034d1159c12 (diff) |
pure prompt
-rw-r--r-- | common.nix | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -342,12 +342,12 @@ in pdftk procs pulseaudio + pure-prompt pwgen qmk ripgrep scc ssh-audit - starship sysstat tcl texlive.combined.scheme-small @@ -543,7 +543,6 @@ in home.stateVersion = "22.11"; # zsh with some nice prompt - programs.starship.enable = true; programs.zoxide.enable = true; programs.zoxide.options = [ "--cmd" "cd" ]; programs.zsh.enable = true; @@ -567,10 +566,10 @@ in extraGroups = [ "vboxusers" "wheel" ]; # init password - hashedPassword = builtins.readFile "/data/nixos/password.secret"; + hashedPassword = config.users.users.root.hashedPassword; # 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 = { @@ -578,7 +577,6 @@ in home.stateVersion = "22.11"; # zsh with some nice prompt and extra main user configuration - programs.starship.enable = true; programs.zoxide.enable = true; programs.zoxide.options = [ "--cmd" "cd" ]; programs.zsh = { @@ -589,6 +587,9 @@ in history.share = false; syntaxHighlighting.enable = true; + # use pure prompt + initExtra = "prompt pure"; + # aliases shellAliases = { # system build/update/cleanup |