Compare commits
5 commits
f09b4bbb3d
...
8344ad81e0
| Author | SHA1 | Date | |
|---|---|---|---|
| 8344ad81e0 | |||
| 8214fba9da | |||
| 8fed12f03a | |||
| bf4cd75c19 | |||
| 25e1ea91bd |
2 changed files with 13 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
16
home.nix
16
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue