mochi/nixos/overlays/default.nix
2024-09-12 16:25:33 -05:00

36 lines
853 B
Nix

{ inputs, ... }:
let
inherit (inputs.nixpkgs) lib;
vivaldiOverlay = self: super: {
vivaldi = super.callPackage ./vivaldi { };
};
termiusOverlay = self: super: {
termius = super.callPackage ./termius { };
};
modsOverlay = self: super: {
mods = super.callPackage ./charm-mods { };
};
smartmontoolsOverlay = import ./smartmontools { };
in
{
comm-packages = inputs.nix-vscode-extensions.overlays.default;
mods = modsOverlay;
nur = inputs.nur.overlay;
smartmontools = smartmontoolsOverlay;
termius = termiusOverlay;
vivaldi = vivaldiOverlay;
# The unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable'
unstable-packages = final: _prev: {
unstable = import inputs.nixpkgs-unstable {
inherit (final) system;
config.allowUnfree = true;
};
};
}