This commit is contained in:
2025-06-24 18:11:42 +02:00
parent 7a538e379a
commit e3f46df30e
5 changed files with 22 additions and 55 deletions

21
modules/desktop/gnome.nix Normal file
View File

@@ -0,0 +1,21 @@
{ 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
# };
# };
}