chore: Simplify fish module

This commit is contained in:
Donovan Glover 2024-04-03 20:06:54 -04:00
parent 582264f381
commit a3717c48f0
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,8 +1,11 @@
{ pkgs, ... }:
let
inherit (pkgs) fish;
in
{
users.defaultUserShell = pkgs.fish;
environment.shells = [ pkgs.fish ];
users.defaultUserShell = fish;
environment.shells = [ fish ];
environment.sessionVariables = {
GIT_DISCOVERY_ACROSS_FILESYSTEM = "1";
@ -12,14 +15,9 @@
GATSBY_TELEMETRY_DISABLED = "1";
};
environment.systemPackages = with pkgs; [
wget
jq
eza
fd
fzf
ripgrep
];
environment.systemPackages = builtins.attrValues {
inherit (pkgs) wget jq eza fd fzf ripgrep;
};
programs.fish = {
enable = true;