add scanner support
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
./devices/desk.nix
|
./devices/desk.nix
|
||||||
./hardware/nvidia.nix
|
./hardware/nvidia.nix
|
||||||
|
./hardware/scanner.nix
|
||||||
|
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./plasma.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 = {
|
users.users.shatteredmint = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "nixos-admins" "cdrom" ];
|
extraGroups = [ "wheel" "nixos-admins" "cdrom" "scanner" "lp" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKT9u43WNMlu3gnu5z9Twt1vkdNdpf6REfEK/OT4qxjK shatteredmint"
|
||||||
|
|||||||
Reference in New Issue
Block a user