dotfiles/nixos/gnome/system.nix
Cyryl Płotnicki 7861502e8c
Some checks failed
use nix / build (push) Failing after 8m36s
fix statix checks
2024-06-29 13:48:38 +01:00

38 lines
919 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 = [
pkgs.miraclecast
];
};
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 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
]);
}