common.nix: make fish binaries high-priority
This commit is contained in:
parent
a5b47bc75b
commit
0b3a851a57
1 changed files with 40 additions and 33 deletions
|
@ -3,44 +3,51 @@
|
|||
# since these also get installed to server,
|
||||
# which should have a small attack surface.
|
||||
{
|
||||
lib,
|
||||
self,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.meta) hiPrioSet;
|
||||
inherit (self.packages.${pkgs.stdenv.system}) wrapped-helix fish;
|
||||
in {
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
cachix
|
||||
calc
|
||||
difftastic
|
||||
eza
|
||||
gcc
|
||||
git
|
||||
httpie
|
||||
inetutils
|
||||
jujutsu
|
||||
just
|
||||
lazygit
|
||||
linuxHeaders
|
||||
neofetch
|
||||
microfetch
|
||||
mprocs
|
||||
nmap
|
||||
polkit
|
||||
ripgrep
|
||||
smartmontools
|
||||
television
|
||||
trash-cli
|
||||
util-linux
|
||||
w3m
|
||||
wireguard-tools
|
||||
zip
|
||||
zoxide
|
||||
;
|
||||
inherit wrapped-helix fish;
|
||||
};
|
||||
environment.systemPackages =
|
||||
builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
cachix
|
||||
calc
|
||||
delta
|
||||
difftastic
|
||||
eza
|
||||
gcc
|
||||
git
|
||||
httpie
|
||||
inetutils
|
||||
jujutsu
|
||||
just
|
||||
lazygit
|
||||
linuxHeaders
|
||||
neofetch
|
||||
microfetch
|
||||
mprocs
|
||||
nmap
|
||||
polkit
|
||||
ripgrep
|
||||
smartmontools
|
||||
television
|
||||
trash-cli
|
||||
util-linux
|
||||
uutils-coreutils-noprefix
|
||||
w3m
|
||||
wireguard-tools
|
||||
zip
|
||||
zoxide
|
||||
;
|
||||
}
|
||||
++ builtins.attrValues (hiPrioSet {
|
||||
inherit wrapped-helix fish;
|
||||
});
|
||||
# helix as the only editor, a reasonable choice.
|
||||
environment.sessionVariables.EDITOR = "hx";
|
||||
environment.sessionVariables.EDITOR = "hx";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue