diff --git a/modules/core/packages/essentials.nix b/modules/core/packages/essentials.nix index faff0f9..a0645bc 100644 --- a/modules/core/packages/essentials.nix +++ b/modules/core/packages/essentials.nix @@ -12,6 +12,7 @@ bitwarden-cli xdg-utils gcc + vulkan-tools # File management trash-cli file-roller diff --git a/modules/core/printing.nix b/modules/core/printing.nix index a939e2e..c0c9885 100644 --- a/modules/core/printing.nix +++ b/modules/core/printing.nix @@ -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; diff --git a/modules/home/default.nix b/modules/home/default.nix index 8819b0c..8bf7de8 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -32,6 +32,7 @@ _: { ./mangohud.nix ./nextcloud.nix ./nix-search-tv.nix + ./nixgl.nix ./nixpkgs.nix ./obs-studio.nix ./ollama.nix diff --git a/modules/home/nixgl.nix b/modules/home/nixgl.nix new file mode 100644 index 0000000..9744166 --- /dev/null +++ b/modules/home/nixgl.nix @@ -0,0 +1,3 @@ +_: { + targets.genericLinux.nixGL.vulkan.enable = true; +} diff --git a/modules/home/prismlauncher.nix b/modules/home/prismlauncher.nix index 4af7837..fac63b0 100644 --- a/modules/home/prismlauncher.nix +++ b/modules/home/prismlauncher.nix @@ -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; }; }