use same fish config for desktop and server + enable cleaning service

This commit is contained in:
2026-08-02 22:05:05 +02:00
parent 535a3e6d6e
commit 04e42db270
6 changed files with 35 additions and 47 deletions
+3 -21
View File
@@ -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";
}