From 803fbcd31ad4dced485d1d901fd61e518e9d58e4 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Thu, 4 May 2017 13:56:14 +0200 Subject: [PATCH] steveej-laptop: enable zsh --- nixos-configuration/steveej-laptop/system.nix | 7 +++++++ nixos-configuration/steveej-laptop/user.nix | 1 + 2 files changed, 8 insertions(+) diff --git a/nixos-configuration/steveej-laptop/system.nix b/nixos-configuration/steveej-laptop/system.nix index 520de0f..66caf68 100644 --- a/nixos-configuration/steveej-laptop/system.nix +++ b/nixos-configuration/steveej-laptop/system.nix @@ -35,6 +35,13 @@ { address = "10.254.254.254"; prefixLength = 24; } ]; + programs.zsh = { + enable = true; + enableAutosuggestions = true; + enableCompletion = true; + syntax-highlighting.enable = true; + }; + programs.bash = { enableCompletion = true; promptInit = '' diff --git a/nixos-configuration/steveej-laptop/user.nix b/nixos-configuration/steveej-laptop/user.nix index ef1fb2f..5b58864 100644 --- a/nixos-configuration/steveej-laptop/user.nix +++ b/nixos-configuration/steveej-laptop/user.nix @@ -21,6 +21,7 @@ "video" ]; hashedPassword = "removed"; + shell = pkgs.zsh; }; security.pam.enableU2F = true;