mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-02 02:00:51 +02:00
print setup
This commit is contained in:
parent
23daeb4cca
commit
ba08007b41
1 changed files with 19 additions and 1 deletions
|
@ -137,7 +137,25 @@
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
];
|
];
|
||||||
|
|
||||||
services.printing.enable = true;
|
services.printing = {
|
||||||
|
enable = true;
|
||||||
|
extraConf = ''
|
||||||
|
JobPrivateAccess all
|
||||||
|
JobPrivateValues none
|
||||||
|
'';
|
||||||
|
clientConf = ''
|
||||||
|
ServerName localhost
|
||||||
|
Encryption Required
|
||||||
|
User jmalka
|
||||||
|
'';
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.variables =
|
||||||
|
{
|
||||||
|
CUPS_USER = "jmalka";
|
||||||
|
};
|
||||||
|
|
||||||
services.avahi.enable = true;
|
services.avahi.enable = true;
|
||||||
services.avahi.nssmdns = true;
|
services.avahi.nssmdns = true;
|
||||||
# for a WiFi printer
|
# for a WiFi printer
|
||||||
|
|
Loading…
Add table
Reference in a new issue