mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 00:36:25 +00:00
27 lines
721 B
Nix
27 lines
721 B
Nix
|
{ pkgs, ... }:
|
||
|
{
|
||
|
imports = [
|
||
|
../services/xdg-portal.nix
|
||
|
];
|
||
|
|
||
|
# Enable the graphical windowing system.
|
||
|
# NOTE: xserver is a legacy naming convention, DEs may still use Wayland over X11
|
||
|
services.xserver.enable = true;
|
||
|
|
||
|
# Enable the GNOME Desktop Environment.
|
||
|
services.xserver.desktopManager.gnome.enable = true;
|
||
|
|
||
|
services.xserver.displayManager.gdm.enable = true;
|
||
|
|
||
|
# TODO: Disable Wayland (issues with Electron app rendering)?
|
||
|
services.xserver.displayManager.gdm.wayland = true;
|
||
|
|
||
|
# Enable udev rules
|
||
|
services.udev.packages = with pkgs.unstable; [ gnome.gnome-settings-daemon ];
|
||
|
|
||
|
environment.systemPackages = with pkgs.unstable; [
|
||
|
gnomeExtensions.appindicator
|
||
|
gnome3.gnome-tweaks
|
||
|
];
|
||
|
}
|