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.
27 lines
640 B
Nix
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;
|
|
};
|
|
}
|