29 lines
659 B
Nix
29 lines
659 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"}'';
|
|
};
|
|
};
|
|
};
|
|
}
|