mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-09 06:19:35 +01:00
shell: Prefer with pkgs;
over mkMerge
This commit is contained in:
parent
b513d01715
commit
4e2fda8b4e
@ -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
|
||||||
;
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user