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,17 +3,21 @@
|
||||||
# since these also get installed to server,
|
# since these also get installed to server,
|
||||||
# which should have a small attack surface.
|
# which should have a small attack surface.
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
self,
|
self,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
inherit (lib.meta) hiPrioSet;
|
||||||
inherit (self.packages.${pkgs.stdenv.system}) wrapped-helix fish;
|
inherit (self.packages.${pkgs.stdenv.system}) wrapped-helix fish;
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = builtins.attrValues {
|
environment.systemPackages =
|
||||||
|
builtins.attrValues {
|
||||||
inherit
|
inherit
|
||||||
(pkgs)
|
(pkgs)
|
||||||
cachix
|
cachix
|
||||||
calc
|
calc
|
||||||
|
delta
|
||||||
difftastic
|
difftastic
|
||||||
eza
|
eza
|
||||||
gcc
|
gcc
|
||||||
|
@ -34,13 +38,16 @@ in {
|
||||||
television
|
television
|
||||||
trash-cli
|
trash-cli
|
||||||
util-linux
|
util-linux
|
||||||
|
uutils-coreutils-noprefix
|
||||||
w3m
|
w3m
|
||||||
wireguard-tools
|
wireguard-tools
|
||||||
zip
|
zip
|
||||||
zoxide
|
zoxide
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
++ builtins.attrValues (hiPrioSet {
|
||||||
inherit wrapped-helix fish;
|
inherit wrapped-helix fish;
|
||||||
};
|
});
|
||||||
# helix as the only editor, a reasonable choice.
|
# 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