From a9703aad9ae089080bd8db2db199a37c2ac567ea Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 16 May 2023 17:18:48 -0400 Subject: [PATCH] Continue moving fish config to fish module --- configuration.nix | 8 -------- modules/fish.nix | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configuration.nix b/configuration.nix index f15a07f9..e7d3c1a3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -68,16 +68,8 @@ jack.enable = true; }; - programs.fish.enable = true; users.defaultUserShell = pkgs.fish; environment.shells = with pkgs; [ fish ]; - programs.fish.shellAliases = { - ls = "exa --group-directories-first -I 'lost+found'"; - tree = - "exa --group-directories-first --all --long --tree -I 'node_modules|.git|public|lost+found'"; - mv = "mv -i"; - rg = "rg --max-columns=2000"; - }; time.timeZone = "America/New_York"; diff --git a/modules/fish.nix b/modules/fish.nix index 195d596c..c8c462a2 100644 --- a/modules/fish.nix +++ b/modules/fish.nix @@ -1,5 +1,13 @@ { programs.fish = { + enable = true; + shellAliases = { + ls = "exa --group-directories-first -I 'lost+found'"; + tree = + "exa --group-directories-first --all --long --tree -I 'node_modules|.git|public|lost+found'"; + mv = "mv -i"; + rg = "rg --max-columns=2000"; + }; shellAbbrs = { g = "git"; ga = "git add";