diff --git a/common.nix b/common.nix index 71d79a9..a12136a 100644 --- a/common.nix +++ b/common.nix @@ -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; diff --git a/home.nix b/home.nix index 236e5db..11c57d7 100644 --- a/home.nix +++ b/home.nix @@ -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;