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;
+1
View File
@@ -32,6 +32,7 @@ _: {
./mangohud.nix
./nextcloud.nix
./nix-search-tv.nix
./nixgl.nix
./nixpkgs.nix
./obs-studio.nix
./ollama.nix
+3
View File
@@ -0,0 +1,3 @@
_: {
targets.genericLinux.nixGL.vulkan.enable = true;
}
+1
View File
@@ -24,5 +24,6 @@ in {
config.programs.prismlauncher = lib.mkIf config.prismlauncher.enable {
enable = true;
package = prismlauncher-cracked-fixed;
# package = inputs.prismlauncher-cracked.packages.${system}.default;
};
}