From 9b2edd3782825301168a95f716788101196f475c Mon Sep 17 00:00:00 2001 From: ooks-io Date: Thu, 11 Jul 2024 23:02:52 +1200 Subject: [PATCH] feat(nixos:admin): swap user shell from fish to zsh --- home/modules/console/shell/zsh/default.nix | 4 ++++ home/profiles/suites/console-tools.nix | 1 + hosts/ookst480s/default.nix | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/home/modules/console/shell/zsh/default.nix b/home/modules/console/shell/zsh/default.nix index 1f8fbd4..7b83be3 100644 --- a/home/modules/console/shell/zsh/default.nix +++ b/home/modules/console/shell/zsh/default.nix @@ -12,6 +12,10 @@ in enable = true; autocd = true; dotDir = ".config/zsh"; + history = { + expireDuplicatesFirst = true; + path = "${config.xdg.dataHome}/zsh_history"; + }; }; }; } diff --git a/home/profiles/suites/console-tools.nix b/home/profiles/suites/console-tools.nix index da35d2e..db71598 100644 --- a/home/profiles/suites/console-tools.nix +++ b/home/profiles/suites/console-tools.nix @@ -23,5 +23,6 @@ in sourcegraph.enable = true; }; ooknet.editor.nvim.enable = true; + ooknet.shell.fish.enable = true; }; } diff --git a/hosts/ookst480s/default.nix b/hosts/ookst480s/default.nix index 957e13d..1224bb3 100644 --- a/hosts/ookst480s/default.nix +++ b/hosts/ookst480s/default.nix @@ -17,7 +17,7 @@ in profiles = [ "console-tools" "media" ]; admin = { name = "ooks"; - shell = "fish"; + shell = "zsh"; homeManager = true; }; networking = {