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
+6 -1
View File
@@ -51,10 +51,15 @@
shell = pkgs.fish;
};
programs.nh = {
enable = true;
clean.enable = true;
flake = "/home/user/nix-config";
};
services.tailscale.enable = true;
services.rsync.enable = true;
programs.nix-ld.enable = true;
programs.nh.enable = true;
programs.neovim.enable = true;
programs.tmux.enable = true;
programs.bat.enable = true;
+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";
}
+1
View File
@@ -19,6 +19,7 @@
croc
mp3val
flac
nitch
(python314.withPackages (
ps: with ps; [
requests