shell: Prefer with pkgs; over mkMerge

This commit is contained in:
Donovan Glover 2024-08-16 03:09:32 -04:00
parent b513d01715
commit 4e2fda8b4e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,9 +1,7 @@
{ pkgs, lib, ... }: { pkgs, ... }:
let let
inherit (pkgs) fish; inherit (pkgs) fish;
inherit (lib) mkMerge;
inherit (builtins) attrValues;
in in
{ {
users.defaultUserShell = fish; users.defaultUserShell = fish;
@ -19,9 +17,7 @@ in
GATSBY_TELEMETRY_DISABLED = "1"; GATSBY_TELEMETRY_DISABLED = "1";
}; };
systemPackages = mkMerge [ systemPackages = with pkgs; [
(attrValues {
inherit (pkgs)
jq jq
eza eza
fd fd
@ -33,8 +29,6 @@ in
choose choose
sd sd
rustscan rustscan
;
inherit (pkgs)
treefmt treefmt
yt-dlp yt-dlp
sox sox
@ -57,8 +51,6 @@ in
sudachi-rs sudachi-rs
tango tango
npm-check-updates npm-check-updates
;
inherit (pkgs)
fastfetch fastfetch
onefetch onefetch
scc scc
@ -67,15 +59,11 @@ in
colorpanes colorpanes
sanctity sanctity
cmatrix cmatrix
;
inherit (pkgs)
gdu gdu
hexyl hexyl
diskonaut diskonaut
pgcli pgcli
litecli litecli
;
inherit (pkgs)
p7zip p7zip
unar unar
rsync rsync
@ -90,16 +78,12 @@ in
lychee lychee
ventoy ventoy
taskwarrior3 taskwarrior3
;
inherit (pkgs)
nixpkgs-review nixpkgs-review
nix-update nix-update
statix statix
nvd nvd
nix-search-cli nix-search-cli
nix-tree nix-tree
;
inherit (pkgs)
rustc rustc
rustfmt rustfmt
cargo cargo
@ -108,8 +92,6 @@ in
clippy clippy
nodejs nodejs
deno deno
;
})
]; ];
}; };