mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-07 17:04:00 +01: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 [
|
||||
(mkIf bloat (attrValues {
|
||||
inherit (pkgs)
|
||||
mullvad-browser
|
||||
spek
|
||||
audacity
|
||||
gimp
|
||||
libreoffice
|
||||
element-desktop
|
||||
signal-desktop
|
||||
qbittorrent
|
||||
popsicle
|
||||
satty
|
||||
srb2
|
||||
ringracers
|
||||
jamesdsp
|
||||
texliveFull
|
||||
;
|
||||
(mkIf bloat (with pkgs; [
|
||||
mullvad-browser
|
||||
spek
|
||||
audacity
|
||||
gimp
|
||||
libreoffice
|
||||
element-desktop
|
||||
signal-desktop
|
||||
qbittorrent
|
||||
popsicle
|
||||
satty
|
||||
srb2
|
||||
ringracers
|
||||
jamesdsp
|
||||
texliveFull
|
||||
]))
|
||||
|
||||
inherit (nix-config.inputs.sakaya.packages.${pkgs.system}) sakaya;
|
||||
}))
|
||||
(with nix-config.inputs.sakaya.packages.${pkgs.system}; [ sakaya ])
|
||||
|
||||
(attrValues {
|
||||
inherit (pkgs)
|
||||
anki
|
||||
pulseaudio
|
||||
grim
|
||||
wl-clipboard-rs
|
||||
;
|
||||
})
|
||||
(with pkgs; [
|
||||
anki
|
||||
pulseaudio
|
||||
grim
|
||||
wl-clipboard-rs
|
||||
])
|
||||
];
|
||||
|
||||
fonts = {
|
||||
|
Loading…
Reference in New Issue
Block a user