fix: add epson scannner drivers
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
cf757f1df4
commit
ee510e1be3
2 changed files with 13 additions and 2 deletions
|
|
@ -12,6 +12,8 @@ in {
|
||||||
extraGroups = ifTheyExist [
|
extraGroups = ifTheyExist [
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"wheel"
|
"wheel"
|
||||||
|
"lp"
|
||||||
|
"scanner"
|
||||||
];
|
];
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
{pkgs, ...}: let
|
{pkgs, ...}: let
|
||||||
vuescan = pkgs.callPackage ../common/optional/vuescan.nix {};
|
vuescan = pkgs.callPackage ../common/optional/vuescan.nix {};
|
||||||
|
epsonscan2 = pkgs.epsonscan2.override {withNonFreePlugins = true;};
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
@ -58,11 +59,10 @@ in {
|
||||||
awscli2
|
awscli2
|
||||||
libreoffice
|
libreoffice
|
||||||
x32edit
|
x32edit
|
||||||
|
epsonscan2
|
||||||
vuescan
|
vuescan
|
||||||
];
|
];
|
||||||
|
|
||||||
services.udev.packages = [vuescan];
|
|
||||||
|
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
@ -71,6 +71,15 @@ in {
|
||||||
services.printing.drivers = [pkgs.brlaser];
|
services.printing.drivers = [pkgs.brlaser];
|
||||||
|
|
||||||
hardware.sane.enable = true;
|
hardware.sane.enable = true;
|
||||||
|
hardware.sane.extraBackends = [
|
||||||
|
pkgs.epkowa
|
||||||
|
pkgs.utsushi
|
||||||
|
pkgs.epsonscan2
|
||||||
|
];
|
||||||
|
services.udev.packages = [
|
||||||
|
pkgs.utsushi
|
||||||
|
vuescan
|
||||||
|
];
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue