summaryrefslogtreecommitdiff
path: root/users/seth/shell/bash.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-25 09:11:50 -0500
committerseth <[email protected]>2023-02-25 09:11:50 -0500
commit83effef025bca97e57e20a0453a9c5e76e38ea9b (patch)
treefeffe69be62e8938183c1a8fb0768519a16ee3d8 /users/seth/shell/bash.nix
parent33d7a86e253d0f267e86fc48764ef4d5780b4c95 (diff)
support nix fmt on all platforms
Diffstat (limited to 'users/seth/shell/bash.nix')
-rw-r--r--users/seth/shell/bash.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/users/seth/shell/bash.nix b/users/seth/shell/bash.nix
index bdc2fe1..b3a1257 100644
--- a/users/seth/shell/bash.nix
+++ b/users/seth/shell/bash.nix
@@ -1,9 +1,16 @@
-{config, standalone, ...}: {
+{
+ config,
+ standalone,
+ ...
+}: {
programs.bash = {
enable = true;
- bashrcExtra = if standalone then ''
- . ${config.home.homeDirectory}/.nix-profile/etc/profile.d/nix.sh
- '' else '''';
+ bashrcExtra =
+ if standalone
+ then ''
+ . ${config.home.homeDirectory}/.nix-profile/etc/profile.d/nix.sh
+ ''
+ else '''';
historyFile = "${config.xdg.stateHome}/bash/history";
historyFileSize = 1000;
historySize = 100;