diff --git a/flake.nix b/flake.nix index 12257cb..5faf8c9 100644 --- a/flake.nix +++ b/flake.nix @@ -63,7 +63,7 @@ let pkgs = nixpkgs.legacyPackages.x86_64-linux; nhs = pkgs.writeShellScriptBin "nhs" '' - nh os switch --hostname framework --impure path:. "$@" + nh os switch --hostname framework path:. "$@" ''; in pkgs.mkShell { diff --git a/home.nix b/home.nix index 78ededb..adc2d5d 100644 --- a/home.nix +++ b/home.nix @@ -154,11 +154,14 @@ enable = true; enableBashIntegration = true; settings = { - cmd_duration.min_time = 500; + format = "$directory$git_status$nix_shell$cmd_duration$line_break$character"; directory.truncation_length = 3; - nix_shell.format = "[$symbol]($style) "; - battery.disabled = false; + git_status.style = "red"; git_branch.disabled = true; + nix_shell.format = "[$symbol]($style) "; + cmd_duration.min_time = 500; + character.success_symbol = "[❯](bold green)"; + character.error_symbol = "[❯](bold red)"; }; }; @@ -213,6 +216,10 @@ programs.bash = { enable = true; enableCompletion = true; + historyControl = [ "ignoredups" "erasedups" ]; + historySize = 50000; + historyFileSize = 100000; + shellOptions = [ "histappend" "checkwinsize" "globstar" ]; shellAliases = { "dr" = "direnv reload"; "da" = "direnv allow"; @@ -264,7 +271,6 @@ keybindings = { "ctrl+shift+c" = "copy_and_clear_or_interrupt"; "ctrl+shift+v" = "paste_from_clipboard"; - "ctrl+v" = "paste_from_clipboard"; }; themeFile = "GitHub_Dark_High_Contrast"; }; @@ -445,6 +451,8 @@ ]; }; + xdg.userDirs.enable = true; + gtk = { enable = true; gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;