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 bitwarden-cli
xdg-utils xdg-utils
gcc gcc
vulkan-tools
# File management # File management
trash-cli trash-cli
file-roller file-roller
+11
View File
@@ -1,4 +1,5 @@
{ {
config,
pkgs, pkgs,
lib, lib,
printEnable, printEnable,
@@ -6,6 +7,16 @@
ensurePrinters, 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 { services = lib.mkIf printEnable {
printing = { printing = {
enable = true; enable = true;
+1
View File
@@ -32,6 +32,7 @@ _: {
./mangohud.nix ./mangohud.nix
./nextcloud.nix ./nextcloud.nix
./nix-search-tv.nix ./nix-search-tv.nix
./nixgl.nix
./nixpkgs.nix ./nixpkgs.nix
./obs-studio.nix ./obs-studio.nix
./ollama.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 { config.programs.prismlauncher = lib.mkIf config.prismlauncher.enable {
enable = true; enable = true;
package = prismlauncher-cracked-fixed; package = prismlauncher-cracked-fixed;
# package = inputs.prismlauncher-cracked.packages.${system}.default;
}; };
} }