{ den, modules, inputs, ... }: { flake-file.inputs = { heliumFlake = { url = "github:vikingnope/helium-browser-nix-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; }; modules.helium = { 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 = { binds = [ "$mainMod, E, exec, helium" ]; }; }; }; }