blob: 351b59ff7289be0373e624bc65920cdfb5d80fc3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{ pkgs, ... }:
{
imports = [ ];
users.users = {
Rory = {
extraGroups = [
"lp"
"scanner"
];
};
};
environment.systemPackages = with pkgs; [
xsane
simple-scan
];
hardware = {
sane.enable = true;
sane.extraBackends = [
pkgs.hplipWithPlugin
pkgs.sane-airscan
];
};
programs.system-config-printer.enable = true;
services = {
gvfs.enable = true;
saned.enable = true;
system-config-printer.enable = true;
ipp-usb.enable = true;
printing = {
enable = true;
browsing = true;
drivers = with pkgs; [ hplip ];
};
avahi = {
enable = true;
nssmdns4 = true;
reflector = true;
publish = {
workstation = true;
userServices = true;
hinfo = true;
enable = true;
domain = true;
addresses = true;
};
};
};
system.stateVersion = "22.11"; # DO NOT EDIT!
}
|