Add Vulkan tools, enable nixGL, improve CUPS service

CUPS now runs a post‑start script that provisions printers but forces
failure to be ignored, preventing provisioning errors from stopping the
service. This also adds a nixGL configuration enabling Vulkan support.
This commit is contained in:
GarandPLG committed 2026-11-07 13:44:19 +01:00
1 parent d777e4467d
commit 798a8fab69
5 files changed
+17

No files matched your search

+1
View File
@@ -12,6 +12,7 @@
bitwarden-cli
xdg-utils
gcc
vulkan-tools
# File management
trash-cli
file-roller
+11
View File
@@ -1,4 +1,5 @@
{
config,
pkgs,
lib,
printEnable,
@@ -6,6 +7,16 @@
ensurePrinters,
...
}: {
systemd.services.cups = lib.mkIf printEnable {
# IPP Everywhere provisioning needs online printers; failure must not stop CUPS.
serviceConfig.ExecStartPost = lib.mkForce [
"-${pkgs.writeShellScript "cups-provision-printers" ''
set -e
${config.systemd.services.cups.postStart}
''}"
];
};
services = lib.mkIf printEnable {
printing = {
enable = true;