Add Prism Launcher support and update flake lock

- Add a new home.prismlauncher module with an enable option and a
  custom package override.
- Enable Prism Launcher for the Garand‑Desktop host and remove the
  previous disabled flag.
- Add the user to the “video” group.
- Remove prismlauncher from the core packages list.
- Bump revisions and hashes for several inputs in flake.lock.
- Fix a trailing newline in the helium AppImage definition.
This commit is contained in:
2026-08-12 00:00:47 +02:00
parent ebc3f6601e
commit a4f098b6bd
12 changed files with 59 additions and 29 deletions
Generated
+24 -24
View File
@@ -17,11 +17,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1786240917, "lastModified": 1786323743,
"narHash": "sha256-4aAr5NeOn8fp8QBrKnfYB7N5mBZO1HjPFYpvqlCirOo=", "narHash": "sha256-bPT6UmXMc33Rd4rU9O8eMHhLbsJuU6ZxC2V7VDlmfms=",
"owner": "mrshmllow", "owner": "mrshmllow",
"repo": "affinity-nix", "repo": "affinity-nix",
"rev": "65610fe65b0ea94eb7913b9f37a532c83d46790f", "rev": "a67e334856b7bf0ab9b5b4f38dffd436c0b8a2e5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -138,11 +138,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1785314864, "lastModified": 1785919363,
"narHash": "sha256-imz9J5iMNersDeQ1ymenFg35N6C2R3MCaGg2i0XCIrE=", "narHash": "sha256-4FDhl7ybhL5qhJw1X2IviFJ2MERnzV7X1HlJhFeSBXU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "594418b2c9ea0731bee6988236ef5bfd97e81dca", "rev": "d17fa5c004217ac6e51da9a8c2d2b79b0ed37109",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -181,11 +181,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1786248171, "lastModified": 1786420971,
"narHash": "sha256-ALbtZKFam+O2ONRk7XhYsXmXxmhR0Y3Bj+qZkTA8zCg=", "narHash": "sha256-irKN0AY5fDS96h7z3Cjp3EB7OwTJU1SeWFb1GxnFu3E=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "2e85abc79236d031845a0e2be3ebbd1759cea715", "rev": "a56dfe072a448e664d208e9ed5f7f9dc9a720686",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@@ -364,11 +364,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1786031233, "lastModified": 1786356609,
"narHash": "sha256-TIDlLTLI1/pB7IqgjzcKQjpODQsZE2oII4XGG9B6KjI=", "narHash": "sha256-ou8fYz5w9yhXC8YbvvExybFIa19MyW5G/8dEPqa90hM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "7834e82588860aaf780cec1366524456a70898d7", "rev": "c30c7955cec30d664a9baced6bc0112e263d4647",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -437,11 +437,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1786106723, "lastModified": 1786384358,
"narHash": "sha256-zDSUbpoeo/9ZmD2+wXnzxoo1+uhL8vxc0b8yuYMKYq0=", "narHash": "sha256-RzPPiWeUtuvymnpuEWsdtzli5w4kjZs49FqEs3/1u+I=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f13ff45afd1bb73e640eaa08a7066dbed07e3238", "rev": "2fcb964de67fcf60b43471c55d5d99e61a9ccb5a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -489,11 +489,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1786239779, "lastModified": 1786471551,
"narHash": "sha256-JxVEUqGZH1PzNh4w6p0UjJRycm33uUxX1ryotRErf3A=", "narHash": "sha256-7NQU+Peux6ZUszNGvBEtgRhzGCxJ/RQaYP0G7cVPt2c=",
"owner": "noctalia-dev", "owner": "noctalia-dev",
"repo": "noctalia-shell", "repo": "noctalia-shell",
"rev": "ad647ae1bc1a119eaafb849ccce5391e9fdb0918", "rev": "0b1398de6b5e245a7048d9e4c2efdf563fa14d61",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -596,11 +596,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1785261141, "lastModified": 1785889825,
"narHash": "sha256-sA+DHPejWD68mLA7gtTiHGd5T41F6W+NKf0g+ibFCW4=", "narHash": "sha256-U98Y5RADVCkMCbrKCFXppe6MSAi0tUTLxi3cB/SMcZI=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "bec66814323579659ffd77c909b3d963af118ece", "rev": "6817dd3094203c8bc4911f5799baf897623003de",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -647,11 +647,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1786216702, "lastModified": 1786382682,
"narHash": "sha256-fOOmw9tUYeqWVnK2w2NiuMTmGIbluj8xiBFTTFDCcEE=", "narHash": "sha256-rWN1IYcqZD+rNA7PuNcMctjZgEzp83iPboeVVvgUHBM=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "b67debfd2db1eb1f0fd8740b950f598bbaf74b8f", "rev": "4e328a8a98eceeb25ee19c88b36b355b400a7f68",
"type": "github" "type": "github"
}, },
"original": { "original": {
+2 -1
View File
@@ -36,11 +36,12 @@ _: {
*/ */
lutris.enable = false; # Lutris: an open gaming platform lutris.enable = false; # Lutris: an open gaming platform
mangohud.enable = true; # MangoHud: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more mangohud.enable = true; # MangoHud: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more
prismlauncher.enable = true; # Prism Launcher: Minecraft modded launcher
/* /*
Media recording and streaming Media recording and streaming
*/ */
obs-studio.enable = false; # OBS Studio: streaming and recording software obs-studio.enable = true; # OBS Studio: streaming and recording software
/* /*
Office suite Office suite
-1
View File
@@ -60,7 +60,6 @@ _: {
/* /*
Gaming Gaming
*/ */
prismlauncher.enable = false; # Prism Launcher: Minecraft modded launcher
spaceCadetPinball.enable = true; # SpaceCadet Pinball: classic pinball game spaceCadetPinball.enable = true; # SpaceCadet Pinball: classic pinball game
ttySolitaire.enable = true; # TTY Solitaire: terminalbased solitaire game ttySolitaire.enable = true; # TTY Solitaire: terminalbased solitaire game
heroic.enable = false; # Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac heroic.enable = false; # Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac
+1
View File
@@ -36,6 +36,7 @@ _: {
*/ */
lutris.enable = false; # Lutris: an open gaming platform lutris.enable = false; # Lutris: an open gaming platform
mangohud.enable = true; # MangoHud: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more mangohud.enable = true; # MangoHud: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more
prismlauncher.enable = false; # Prism Launcher: Minecraft modded launcher
/* /*
Media recording and streaming Media recording and streaming
-1
View File
@@ -60,7 +60,6 @@ _: {
/* /*
Gaming Gaming
*/ */
prismlauncher.enable = false; # Prism Launcher: Minecraft modded launcher
spaceCadetPinball.enable = true; # SpaceCadet Pinball: classic pinball game spaceCadetPinball.enable = true; # SpaceCadet Pinball: classic pinball game
ttySolitaire.enable = true; # TTY Solitaire: terminalbased solitaire game ttySolitaire.enable = true; # TTY Solitaire: terminalbased solitaire game
heroic.enable = false; # Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac heroic.enable = false; # Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac
+1
View File
@@ -36,6 +36,7 @@ _: {
*/ */
lutris.enable = false; # Lutris: an open gaming platform lutris.enable = false; # Lutris: an open gaming platform
mangohud.enable = false; # MangoHud: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more mangohud.enable = false; # MangoHud: Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more
prismlauncher.enable = false; # Prism Launcher: Minecraft modded launcher
/* /*
Media recording and streaming Media recording and streaming
-1
View File
@@ -60,7 +60,6 @@ _: {
/* /*
Gaming Gaming
*/ */
prismlauncher.enable = false; # Prism Launcher: Minecraft modded launcher
spaceCadetPinball.enable = false; # SpaceCadet Pinball: classic pinball game spaceCadetPinball.enable = false; # SpaceCadet Pinball: classic pinball game
ttySolitaire.enable = false; # TTY Solitaire: terminalbased solitaire game ttySolitaire.enable = false; # TTY Solitaire: terminalbased solitaire game
heroic.enable = false; # Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac heroic.enable = false; # Native GOG, Epic, and Amazon Games Launcher for Linux, Windows and Mac
@@ -37,3 +37,4 @@ in
}; };
} }
# https://github.com/imputnet/helium-linux/releases/download/0.11.7.1/helium-0.11.7.1-x86_64.AppImage # https://github.com/imputnet/helium-linux/releases/download/0.11.7.1/helium-0.11.7.1-x86_64.AppImage
-1
View File
@@ -25,7 +25,6 @@
exercism = exercism; exercism = exercism;
jan = jan; jan = jan;
lazygit = lazygit; lazygit = lazygit;
prismlauncher = inputs.prismlauncher-cracked.packages.${system}.default;
spaceCadetPinball = space-cadet-pinball; spaceCadetPinball = space-cadet-pinball;
ttySolitaire = tty-solitaire; ttySolitaire = tty-solitaire;
gimp = gimp; gimp = gimp;
+1
View File
@@ -68,6 +68,7 @@
"wheel" # sudo access "wheel" # sudo access
"vboxusers" # Virtual Box "vboxusers" # Virtual Box
"gamemode" "gamemode"
"video"
"lpadmin" "lpadmin"
"dialout" "dialout"
]; ];
+1
View File
@@ -34,6 +34,7 @@ _: {
./ollama.nix ./ollama.nix
./onlyoffice.nix ./onlyoffice.nix
./opencode.nix ./opencode.nix
./prismlauncher.nix
./qt.nix ./qt.nix
./ssh.nix ./ssh.nix
./starship.nix ./starship.nix
+28
View File
@@ -0,0 +1,28 @@
{
pkgs,
inputs,
system,
lib,
config,
...
}: let
prismlauncher-cracked-fixed = inputs.prismlauncher-cracked.packages.${system}.default.override {
prismlauncher-unwrapped =
(inputs.prismlauncher-cracked.packages.${system}.prismlauncher-unwrapped.override {
extra-cmake-modules = pkgs.kdePackages.extra-cmake-modules;
}).overrideAttrs (oldAttrs: {
nativeBuildInputs =
(oldAttrs.nativeBuildInputs or [])
++ [
pkgs.pkg-config
];
});
};
in {
options.prismlauncher.enable = lib.mkEnableOption "Enable Prism Launcher";
config.programs.prismlauncher = lib.mkIf config.prismlauncher.enable {
enable = true;
package = prismlauncher-cracked-fixed;
};
}