nixops: use sprint server
This commit is contained in:
@@ -107,23 +107,16 @@ in
|
||||
security.pam.p11.enable = true;
|
||||
services.gnome.gcr-ssh-agent.enable = pkgs.lib.mkForce false;
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
services.printing = {
|
||||
enable = true;
|
||||
extraConf =
|
||||
''
|
||||
Browsing Off
|
||||
BrowseLocalProtocols none
|
||||
'';
|
||||
browsedConf =
|
||||
''
|
||||
BrowseRemoteProtocols none
|
||||
BrowseProtocols none
|
||||
'';
|
||||
};
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
services.printing.enable = true;
|
||||
hardware.printers = {
|
||||
ensurePrinters = [
|
||||
{
|
||||
name = "sprint";
|
||||
deviceUri = "socket://192.168.1.1";
|
||||
model = "raw";
|
||||
}
|
||||
];
|
||||
ensureDefaultPrinter = "sprint";
|
||||
};
|
||||
|
||||
hardware.graphics.enable32Bit = true;
|
||||
|
||||
Reference in New Issue
Block a user