From 66ce583ef1ba7c10e4ad2378d54f816c71b5ca3e Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Tue, 25 Jun 2024 21:21:57 +0200 Subject: pure prompt --- common.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/common.nix b/common.nix index 1c14805..5b740be 100644 --- a/common.nix +++ b/common.nix @@ -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 -- cgit v1.2.3