cups: enable

verified working on lappy; builds for moby
This commit is contained in:
2025-01-30 17:25:44 +00:00
parent 45526bd583
commit 14d5910e79
3 changed files with 4 additions and 2 deletions

View File

@@ -383,7 +383,7 @@ in
"brave" # for the integrated wallet -- as a backup
# "cantata" # music player (mpd frontend)
# "chromium" # chromium takes hours to build. brave is chromium-based, distributed in binary form, so prefer it.
# "cups"
"cups"
"discord" # x86-only
# "electrum"
"element-desktop"

View File

@@ -11,11 +11,12 @@ let
in
{
sane.programs.cups = {
sandbox.method = null; #< TODO: sandbox
suggestedPrograms = [
"system-config-printer"
];
};
sane.programs.system-config-printer = {};
sane.programs.system-config-printer.sandbox.method = null; #< TODO: sandbox
services.printing = lib.mkIf cfg.enabled {
enable = true;

View File

@@ -1,3 +1,4 @@
# TODO: get printing to work under papers. until then, use evince if you need to print!
{ ... }:
{
sane.programs.papers = {