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:
@@ -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
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
exercism = exercism;
|
||||
jan = jan;
|
||||
lazygit = lazygit;
|
||||
prismlauncher = inputs.prismlauncher-cracked.packages.${system}.default;
|
||||
spaceCadetPinball = space-cadet-pinball;
|
||||
ttySolitaire = tty-solitaire;
|
||||
gimp = gimp;
|
||||
|
||||
@@ -68,6 +68,7 @@
|
||||
"wheel" # sudo access
|
||||
"vboxusers" # Virtual Box
|
||||
"gamemode"
|
||||
"video"
|
||||
"lpadmin"
|
||||
"dialout"
|
||||
];
|
||||
|
||||
@@ -34,6 +34,7 @@ _: {
|
||||
./ollama.nix
|
||||
./onlyoffice.nix
|
||||
./opencode.nix
|
||||
./prismlauncher.nix
|
||||
./qt.nix
|
||||
./ssh.nix
|
||||
./starship.nix
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user