better moonlight override

This commit is contained in:
chloe 2025-08-02 10:15:01 +02:00
parent e9d297b9ac
commit 3e64801e8c
2 changed files with 79 additions and 41 deletions

View file

@ -4,14 +4,15 @@
pkgs,
...
}:
let
discord = pkgs.discord.override {
withMoonlight = true;
moonlight = inputs.moonlight.packages.${pkgs.system}.moonlight;
};
in
{
environment.systemPackages = with pkgs; [
discord.override
{
withMoonlight = true;
moonlight = inputs.moonlight.packages.${pkgs.system}.moonlight;
}
vesktop
environment.systemPackages = [
discord
];
# screen record support
xdg = {