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
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
nhs = pkgs.writeShellScriptBin "nhs" ''
|
nhs = pkgs.writeShellScriptBin "nhs" ''
|
||||||
nh os switch --hostname framework --impure path:. "$@"
|
nh os switch --hostname framework path:. "$@"
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
|
|
|
||||||
16
home.nix
16
home.nix
|
|
@ -154,11 +154,14 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
settings = {
|
settings = {
|
||||||
cmd_duration.min_time = 500;
|
format = "$directory$git_status$nix_shell$cmd_duration$line_break$character";
|
||||||
directory.truncation_length = 3;
|
directory.truncation_length = 3;
|
||||||
nix_shell.format = "[$symbol]($style) ";
|
git_status.style = "red";
|
||||||
battery.disabled = false;
|
|
||||||
git_branch.disabled = true;
|
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 = {
|
programs.bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
|
historyControl = [ "ignoredups" "erasedups" ];
|
||||||
|
historySize = 50000;
|
||||||
|
historyFileSize = 100000;
|
||||||
|
shellOptions = [ "histappend" "checkwinsize" "globstar" ];
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
"dr" = "direnv reload";
|
"dr" = "direnv reload";
|
||||||
"da" = "direnv allow";
|
"da" = "direnv allow";
|
||||||
|
|
@ -264,7 +271,6 @@
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"ctrl+shift+c" = "copy_and_clear_or_interrupt";
|
"ctrl+shift+c" = "copy_and_clear_or_interrupt";
|
||||||
"ctrl+shift+v" = "paste_from_clipboard";
|
"ctrl+shift+v" = "paste_from_clipboard";
|
||||||
"ctrl+v" = "paste_from_clipboard";
|
|
||||||
};
|
};
|
||||||
themeFile = "GitHub_Dark_High_Contrast";
|
themeFile = "GitHub_Dark_High_Contrast";
|
||||||
};
|
};
|
||||||
|
|
@ -445,6 +451,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.userDirs.enable = true;
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
|
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue