{ den, modules, inputs, lib, ... }: { flake-file.inputs = { heliumFlake = { url = "github:vikingnope/helium-browser-nix-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; }; modules.helium = settings: { homeManager = { pkgs, home, ... }: { home.packages = [ inputs.heliumFlake.packages.x86_64-linux.helium ]; nixpkgs.config.allowUnfree = true; # 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"}''; }; wayland.windowManager.hyprland.settings = lib.mkIf settings.default { binds = [ "$mainMod, E, exec, helium" ]; }; }; }; }