use same fish config for desktop and server + enable cleaning service
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
{
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
nitch
|
||||
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";
|
||||
hyprland = "start-hyprland";
|
||||
mv = "mv -v";
|
||||
n = "nvim";
|
||||
py = "uv run";
|
||||
r = "rsync -avh --info=progress2";
|
||||
rm = "gomi";
|
||||
ssh = "kitty +kitten ssh";
|
||||
nd = "nix develop";
|
||||
df = "df -h -x tmpfs -x devtmpfs -x squashfs -x overlay -x efivarfs";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
imports = [
|
||||
./mpd.nix
|
||||
./programs.nix
|
||||
./fish.nix
|
||||
../../../modules/fish.nix
|
||||
zen-browser.homeModules.beta
|
||||
];
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
croc
|
||||
mp3val
|
||||
flac
|
||||
nitch
|
||||
(python314.withPackages (
|
||||
ps: with ps; [
|
||||
requests
|
||||
|
||||
Reference in New Issue
Block a user