Files
nixos/modules/desktop/gnome.nix
2025-06-24 18:11:42 +02:00

22 lines
779 B
Nix

{ config, pkgs, lib, ... }:
{
# --- GNOME on Wayland --------------------------------------------------
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Electron/Chromium apps → Wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";
# # --- dconf service & keyboard repeat ----------------------------------
# programs.dconf.enable = true; # ← brings the `dconf` option into scope!
# dconf.settings = {
# "org/gnome/desktop/peripherals/keyboard" = {
# delay = lib.gvariant.mkUint32 200; # ms before first repeat
# repeat-interval = lib.gvariant.mkUint32 25; # ms between repeats ≈40 cps
# };
# };
}