Add scanning with unstable brscan5
This commit is contained in:
parent
64ec336239
commit
0d7fffdff2
|
@ -27,7 +27,7 @@
|
|||
rec {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
pkgs-unstable = nixpkgs-unstable.legacyPackages."${conf.system}";
|
||||
pkgs-unstable = import nixpkgs-unstable { config.allowUnfree = true; system = conf.system; };
|
||||
};
|
||||
modules = [
|
||||
private.nixosModules.base
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, pkgs-unstable, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -34,5 +34,17 @@
|
|||
bluetooth.enable = true;
|
||||
opengl.driSupport32Bit = (pkgs.system == "x86_64-linux");
|
||||
steam-hardware.enable = true;
|
||||
sane = {
|
||||
enable = true;
|
||||
brscan5.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
brscan5 = pkgs-unstable.brscan5;
|
||||
})
|
||||
];
|
||||
|
||||
users.users.artemis.extraGroups = [ "scanner" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue