dotfiles/nixos/gnome/system.nix
Cyryl Płotnicki cd981587a6
Some checks failed
use nix / build (push) Failing after 3m58s
fix tailscale boot
2024-06-13 13:15:58 +01:00

36 lines
906 B
Nix

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