From b2922a1fef66c1ba9e44c11a2f6316007234dab2 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 31 Jan 2023 19:36:57 -0500 Subject: add standalone hm option --- users/seth/shell/bash.nix | 2 +- users/seth/shell/fish.nix | 8 ++++++-- users/seth/shell/zsh/default.nix | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'users/seth/shell') diff --git a/users/seth/shell/bash.nix b/users/seth/shell/bash.nix index 7412c46..32f4f31 100644 --- a/users/seth/shell/bash.nix +++ b/users/seth/shell/bash.nix @@ -1,6 +1,6 @@ {config, ...}: { programs.bash = { - enable = true; + enable = !config.seth.standalone; historyFile = "${config.xdg.stateHome}/bash/history"; historyFileSize = 1000; historySize = 100; diff --git a/users/seth/shell/fish.nix b/users/seth/shell/fish.nix index 6c08684..3345027 100644 --- a/users/seth/shell/fish.nix +++ b/users/seth/shell/fish.nix @@ -1,6 +1,10 @@ -{pkgs, ...}: { +{ + config, + pkgs, + ... +}: { programs.fish = { - enable = true; + enable = !config.seth.standalone; plugins = [ { name = "autopair-fish"; diff --git a/users/seth/shell/zsh/default.nix b/users/seth/shell/zsh/default.nix index be7f043..b37b071 100644 --- a/users/seth/shell/zsh/default.nix +++ b/users/seth/shell/zsh/default.nix @@ -4,7 +4,7 @@ ... }: { programs.zsh = { - enable = true; + enable = !config.seth.standalone; enableAutosuggestions = true; enableSyntaxHighlighting = true; enableVteIntegration = true; -- cgit v1.2.3