This commit is contained in:
parent
2e32990aa4
commit
7861502e8c
1 changed files with 11 additions and 9 deletions
|
@ -5,20 +5,22 @@
|
||||||
system,
|
system,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
services.xserver = {
|
services = {
|
||||||
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager.gdm.enable = true;
|
displayManager.gdm.enable = true;
|
||||||
displayManager.gdm.wayland = true;
|
displayManager.gdm.wayland = true;
|
||||||
desktopManager.gnome.enable = true;
|
desktopManager.gnome.enable = true;
|
||||||
};
|
};
|
||||||
services.flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
|
dbus.packages = [
|
||||||
|
pkgs.miraclecast
|
||||||
|
];
|
||||||
|
};
|
||||||
networking.firewall.trustedInterfaces = ["p2p-dev-wl+" "p2p-wl+" "wlp+"];
|
networking.firewall.trustedInterfaces = ["p2p-dev-wl+" "p2p-wl+" "wlp+"];
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
NETWORK_DISPLAYS_H264_ENC = "openh264enc";
|
NETWORK_DISPLAYS_H264_ENC = "openh264enc";
|
||||||
};
|
};
|
||||||
services.dbus.packages = [
|
|
||||||
pkgs.miraclecast
|
|
||||||
];
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
(with inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".pkgs; [gnome-network-displays miraclecast])
|
(with inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".pkgs; [gnome-network-displays miraclecast])
|
||||||
++ (with pkgs; [
|
++ (with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue