add scanner support
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
modules = [
|
||||
./devices/desk.nix
|
||||
./hardware/nvidia.nix
|
||||
./hardware/scanner.nix
|
||||
|
||||
./configuration.nix
|
||||
./plasma.nix
|
||||
|
||||
12
hardware/scanner.nix
Normal file
12
hardware/scanner.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
hardware.sane = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
extraBackends = [
|
||||
pkgs.sane-epson2
|
||||
pkgs.iscan-network-nt
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
users.users.shatteredmint = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "nixos-admins" "cdrom" ];
|
||||
extraGroups = [ "wheel" "nixos-admins" "cdrom" "scanner" "lp" ];
|
||||
shell = pkgs.zsh;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint"
|
||||
|
||||
Reference in New Issue
Block a user