Switch to fish.
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
packages = import ./packages.nix { inherit pkgs; };
|
||||
in
|
||||
{
|
||||
home = {
|
||||
inherit packages;
|
||||
packages = (import ./packages.nix { inherit pkgs; }).packages;
|
||||
stateVersion = "24.05"; # TODO: unify this with the references in flake.nix:inputs
|
||||
|
||||
sessionVariables = {
|
||||
@@ -23,10 +20,10 @@ in
|
||||
".ssh"
|
||||
"projects"
|
||||
];
|
||||
files = [ ];
|
||||
files = [ ".local/share/fish/fish_history" ];
|
||||
allowOther = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs = import ./programs.nix;
|
||||
programs = import ./programs.nix { inherit pkgs; };
|
||||
}
|
||||
|
||||
@@ -1,13 +1,17 @@
|
||||
{ pkgs }:
|
||||
|
||||
let
|
||||
nixTools = with pkgs; [
|
||||
git
|
||||
home-manager
|
||||
mosh
|
||||
tmux
|
||||
vim
|
||||
zsh
|
||||
];
|
||||
in
|
||||
nixTools
|
||||
{
|
||||
packages =
|
||||
with pkgs;
|
||||
[
|
||||
git
|
||||
home-manager
|
||||
mosh
|
||||
tmux
|
||||
vim
|
||||
zsh
|
||||
]
|
||||
++ (with pkgs.fishPlugins; [
|
||||
# don't add failed commands to history
|
||||
sponge
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
fish = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
git = {
|
||||
enable = true;
|
||||
userEmail = "petru@paler.net";
|
||||
@@ -38,37 +43,4 @@
|
||||
set -g status-right ""
|
||||
'';
|
||||
};
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
history = {
|
||||
save = 1000000;
|
||||
size = 1000000;
|
||||
};
|
||||
prezto = {
|
||||
enable = true;
|
||||
pmodules = [
|
||||
"gnu-utility"
|
||||
"environment"
|
||||
"terminal"
|
||||
"editor"
|
||||
"history"
|
||||
"directory"
|
||||
"spectrum"
|
||||
"utility"
|
||||
"completion"
|
||||
"syntax-highlighting"
|
||||
"prompt"
|
||||
];
|
||||
gnuUtility.prefix = "g";
|
||||
prompt.theme = "pure";
|
||||
utility.safeOps = false;
|
||||
syntaxHighlighting.highlighters = [
|
||||
"main"
|
||||
"brackets"
|
||||
"pattern"
|
||||
"root"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user