mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 14:40:19 +02:00
31 lines
531 B
Nix
31 lines
531 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}:
|
|
let
|
|
moonlight-client = pkgs.discord.override {
|
|
withMoonlight = true;
|
|
};
|
|
in
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
moonlight-client
|
|
inputs.moonlight.packages.${pkgs.system}.moonlight
|
|
vesktop
|
|
];
|
|
# screen record support
|
|
xdg = {
|
|
autostart.enable = true;
|
|
icons.enable = true;
|
|
portal = {
|
|
enable = true;
|
|
extraPortals = with pkgs; [
|
|
xdg-desktop-portal-wlr
|
|
xdg-desktop-portal-gtk
|
|
];
|
|
wlr.enable = true;
|
|
};
|
|
};
|
|
}
|