diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 3379620..af16121 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -120,14 +120,6 @@ # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; - programs.fish = { - enable = true; - shellAliases = { - ls = "${pkgs.eza}/bin/eza -la --icons=always"; - cat = "bat -p"; - }; - }; - # Define a user account. Don't forget to set a password with ‘passwd’. users.users.h = { isNormalUser = true; @@ -172,6 +164,7 @@ shell = pkgs.fish; }; + programs.fish.enable = true; # Enable nix-command for search and flakes nix.settings.experimental-features = [ "nix-command" "flakes" ]; diff --git a/hosts/default/shell.nix b/hosts/default/shell.nix index 31e76a3..e72a55c 100644 --- a/hosts/default/shell.nix +++ b/hosts/default/shell.nix @@ -3,6 +3,10 @@ { programs.fish = { enable = true; + shellAliases = { + ls = "${pkgs.eza}/bin/eza -la --icons=always"; + cat = "${pkgs.bat}/bin/bat -p"; + }; functions = { fish_prompt = { body = ''