mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-02 15:15:16 +02:00
chore: Prefer with pkgs;
over attrValues
`with pkgs;` is okay to use as long as there isn't an "escaping with".
This commit is contained in:
parent
3e5290a6ba
commit
75029f6d1d
@ -147,35 +147,31 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = mkMerge [
|
environment.systemPackages = mkMerge [
|
||||||
(mkIf bloat (attrValues {
|
(mkIf bloat (with pkgs; [
|
||||||
inherit (pkgs)
|
mullvad-browser
|
||||||
mullvad-browser
|
spek
|
||||||
spek
|
audacity
|
||||||
audacity
|
gimp
|
||||||
gimp
|
libreoffice
|
||||||
libreoffice
|
element-desktop
|
||||||
element-desktop
|
signal-desktop
|
||||||
signal-desktop
|
qbittorrent
|
||||||
qbittorrent
|
popsicle
|
||||||
popsicle
|
satty
|
||||||
satty
|
srb2
|
||||||
srb2
|
ringracers
|
||||||
ringracers
|
jamesdsp
|
||||||
jamesdsp
|
texliveFull
|
||||||
texliveFull
|
]))
|
||||||
;
|
|
||||||
|
|
||||||
inherit (nix-config.inputs.sakaya.packages.${pkgs.system}) sakaya;
|
(with nix-config.inputs.sakaya.packages.${pkgs.system}; [ sakaya ])
|
||||||
}))
|
|
||||||
|
|
||||||
(attrValues {
|
(with pkgs; [
|
||||||
inherit (pkgs)
|
anki
|
||||||
anki
|
pulseaudio
|
||||||
pulseaudio
|
grim
|
||||||
grim
|
wl-clipboard-rs
|
||||||
wl-clipboard-rs
|
])
|
||||||
;
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
|
Loading…
Reference in New Issue
Block a user