shell: use fish instead of zsh

This commit is contained in:
Khaïs COLIN 2025-01-18 12:20:41 +01:00
parent 67fc40fd2a
commit 46383d5114
2 changed files with 14 additions and 1 deletions

View file

@ -92,7 +92,7 @@
isNormalUser = true;
description = "Khaïs COLIN";
extraGroups = ["networkmanager" "wheel" "podman" "libvirtd" "music" "cdrom"];
shell = pkgs.zsh;
shell = pkgs.fish;
};
# access to /pile/Music
users.groups.music = {};
@ -117,6 +117,7 @@
# shell
programs.zsh.enable = true;
programs.fish.enable = true;
programs.steam = {
enable = true;

View file

@ -156,6 +156,18 @@ in {
'';
};
programs.fish = {
enable = true;
shellAliases = {
vim = "nvim";
vi = "nvim";
# progress cp
# https://serverfault.com/questions/43014/copying-a-large-directory-tree-locally-cp-or-rsync
pcp = "rsync --info=progress2 --archive --hard-links --acls --xattrs --human-readable --sparse --stats";
};
};
programs.kitty = {
package = kitty-unstable;
enable = true;