Files
dotfiles/config/modules/helium.nix
2026-02-21 17:13:35 +00:00

34 lines
795 B
Nix

{
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"
];
};
};
};
}