reenabled: helium and fixed it

This commit is contained in:
2026-01-05 17:53:30 +00:00
parent f942349dca
commit 562513fcd6
7 changed files with 115 additions and 38 deletions

View File

@@ -9,7 +9,6 @@
let
cfg = config.modules.helium;
# packageNix = "${inputs.nixpkgs-gamescope}/pkgs/by-name/he/helium-browser/package.nix";
# helium = inputs.nikkuss-pkgs.callPackage packageNix { };
in
{
options.modules.helium = {
@@ -17,14 +16,11 @@ in
};
config = lib.mkIf cfg.enable {
home.packages = [
inputs.nikkuss-pkgs.packages.x86_64-linux.helium-browser
inputs.heliumFlake.packages.x86_64-linux.helium
];
# xdg.mimeApps.defaultApplications = {
# "text/html" = "chromium.desktop";
# "x-scheme-handler/http" = "chromium.desktop";
# "x-scheme-handler/https" = "chromium.desktop";
# "x-scheme-handler/about" = "chromium.desktop";
# "x-scheme-handler/unknown" = "chromium.desktop";
# };
# Gives me widevine support. yay
xdg.configFile."net.imput.helium/WidevineCdm/latest-component-updated-widevine-cdm" = {
text = ''{"Path":"${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm"}'';
};
};
}