Add scanning with unstable brscan5

This commit is contained in:
Artemis Tosini 2022-03-09 17:51:47 +00:00
parent 64ec336239
commit 0d7fffdff2
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
2 changed files with 14 additions and 2 deletions

View file

@ -27,7 +27,7 @@
rec { rec {
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
pkgs-unstable = nixpkgs-unstable.legacyPackages."${conf.system}"; pkgs-unstable = import nixpkgs-unstable { config.allowUnfree = true; system = conf.system; };
}; };
modules = [ modules = [
private.nixosModules.base private.nixosModules.base

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, pkgs-unstable, ... }:
{ {
imports = [ imports = [
@ -34,5 +34,17 @@
bluetooth.enable = true; bluetooth.enable = true;
opengl.driSupport32Bit = (pkgs.system == "x86_64-linux"); opengl.driSupport32Bit = (pkgs.system == "x86_64-linux");
steam-hardware.enable = true; steam-hardware.enable = true;
sane = {
enable = true;
brscan5.enable = true;
};
}; };
nixpkgs.overlays = [
(final: prev: {
brscan5 = pkgs-unstable.brscan5;
})
];
users.users.artemis.extraGroups = [ "scanner" ];
} }