use same fish config for desktop and server + enable cleaning service
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
{
|
||||
imports = [
|
||||
./beets.nix
|
||||
../../../modules/fish.nix
|
||||
];
|
||||
|
||||
home.username = "user";
|
||||
@@ -21,6 +22,8 @@
|
||||
|
||||
programs.gcc.enable = true;
|
||||
|
||||
programs.ripgrep.enable = true;
|
||||
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
@@ -39,26 +42,5 @@
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
set -g fish_key_bindings fish_hybrid_key_bindings
|
||||
set fish_greeting
|
||||
'';
|
||||
shellAliases = {
|
||||
ls = "eza -al --no-time --no-user --no-permissions --no-filesize";
|
||||
ll = "eza -la";
|
||||
cat = "bat";
|
||||
cd = "z";
|
||||
cp = "cp -v";
|
||||
ff = "fastfetch";
|
||||
grep = "grep -i";
|
||||
mv = "mv -v";
|
||||
n = "nvim";
|
||||
r = "rsync -avh --info=progress2";
|
||||
rm = "gomi";
|
||||
};
|
||||
};
|
||||
|
||||
home.stateVersion = "26.05";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user