2024-06-13 13:15:58 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
system,
|
|
|
|
...
|
|
|
|
}: {
|
2020-01-03 17:54:42 +00:00
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
displayManager.gdm.enable = true;
|
2020-07-04 17:22:30 +01:00
|
|
|
displayManager.gdm.wayland = true;
|
2023-01-12 08:20:08 +00:00
|
|
|
desktopManager.gnome.enable = true;
|
2020-01-03 17:54:42 +00:00
|
|
|
};
|
2020-07-24 22:54:17 +01:00
|
|
|
services.flatpak.enable = true;
|
2024-06-13 13:15:58 +01:00
|
|
|
networking.firewall.trustedInterfaces = ["p2p-dev-wl+" "p2p-wl+" "wlp+"];
|
|
|
|
environment.sessionVariables = {
|
|
|
|
NETWORK_DISPLAYS_H264_ENC = "openh264enc";
|
|
|
|
};
|
|
|
|
services.dbus.packages = [
|
|
|
|
pkgs.miraclecast
|
|
|
|
];
|
2024-04-07 13:06:19 +01:00
|
|
|
environment.systemPackages =
|
2024-06-13 13:15:58 +01:00
|
|
|
(with inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".pkgs; [gnome-network-displays miraclecast])
|
|
|
|
++ (with pkgs; [
|
|
|
|
iw
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
|
|
|
gst_all_1.gst-plugins-bad
|
|
|
|
gst_all_1.gst-plugins-ugly
|
|
|
|
gst_all_1.gst-libav
|
|
|
|
gst_all_1.gst-vaapi
|
|
|
|
gst_all_1.gst-rtsp-server
|
|
|
|
avahi.dev
|
|
|
|
]);
|
2020-01-03 17:28:21 +00:00
|
|
|
}
|