dotfiles/nixos/gnome/system.nix
2025-01-11 18:35:07 +00:00

37 lines
884 B
Nix

{
config,
pkgs,
inputs,
system,
...
}: {
services = {
xserver = {
enable = true;
displayManager.gdm.enable = true;
displayManager.gdm.wayland = true;
desktopManager.gnome.enable = true;
};
flatpak.enable = true;
dbus.packages = [
];
};
networking.firewall.trustedInterfaces = ["p2p-dev-wl+" "p2p-wl+" "wlp+"];
environment.sessionVariables = {
NETWORK_DISPLAYS_H264_ENC = "openh264enc";
};
environment.systemPackages =
(with inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".pkgs; [gnome-network-displays])
++ (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
]);
}