nixos-config/overlays/flake-module.nix
Felix Schröter cf42ef54d8
chore: remove custom brlaser
NixOS 25.05 has switched to Owl-Maintain's fork of brlaser with the
latest release that includes the fix for my duplex printing issues.
2025-05-18 19:42:55 +02:00

27 lines
640 B
Nix

{ self, inputs, ... }:
{
flake = {
overlays.default = final: prev: {
unstable = import inputs.nixpkgs-unstable {
inherit (prev) system;
config.allowUnfree = true;
};
inherit (inputs.self.packages.${prev.system}) deconz;
vimPlugins = prev.vimPlugins // final.callPackage ../pkgs/vim-plugins { inherit inputs; };
};
pkgsFor =
system:
import inputs.nixpkgs {
inherit system;
overlays = [ self.overlays.default ];
config.allowUnfree = true;
};
};
perSystem =
{ system, ... }:
{
_module.args.pkgs = self.pkgsFor system;
};
}