forked from pub-solar/os
pkgs: simplify override
This commit is contained in:
parent
d35195187f
commit
f2aedb889b
|
@ -67,12 +67,8 @@ let
|
||||||
nixpkgs.overlays =
|
nixpkgs.overlays =
|
||||||
let
|
let
|
||||||
override = import ../pkgs/override.nix unstablePkgs;
|
override = import ../pkgs/override.nix unstablePkgs;
|
||||||
|
|
||||||
overlay = pkg: final: prev: {
|
|
||||||
"${pkg.pname}" = pkg;
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
map overlay override;
|
[ override ];
|
||||||
};
|
};
|
||||||
|
|
||||||
local = import "${toString ./.}/${hostName}.nix";
|
local = import "${toString ./.}/${hostName}.nix";
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
# Packages in this list are imported by hosts/default.nix, and are pulled from
|
# Packages inherited are imported in hosts/default.nix, and are pulled from
|
||||||
# nixpkgs master instead of the default nixos release. This doesn't actually
|
# nixpkgs master instead of the default nixos release. This doesn't actually
|
||||||
# install them, just creates an overlay to pull them from master if they are
|
# install them, just creates an overlay to pull them from master if they are
|
||||||
# installed by the user elsewhere in the configuration.
|
# installed by the user elsewhere in the configuration.
|
||||||
pkgs:
|
pkgs: final: prev:
|
||||||
with pkgs;
|
{
|
||||||
[
|
inherit (pkgs)
|
||||||
starship
|
|
||||||
element-desktop
|
|
||||||
discord
|
|
||||||
signal-desktop
|
|
||||||
dhall
|
dhall
|
||||||
nixpkgs-fmt
|
discord
|
||||||
|
element-desktop
|
||||||
manix
|
manix
|
||||||
|
nixpkgs-fmt
|
||||||
qutebrowser
|
qutebrowser
|
||||||
]
|
signal-desktop
|
||||||
|
starship;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue