From 83effef025bca97e57e20a0453a9c5e76e38ea9b Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 25 Feb 2023 09:11:50 -0500 Subject: support nix fmt on all platforms --- users/seth/shell/bash.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'users/seth/shell/bash.nix') 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; -- cgit v1.2.3