split into tower and laptop config

This commit is contained in:
2025-11-03 11:36:56 +01:00
parent 1e738d598b
commit 1aa72c7a30
28 changed files with 308 additions and 84 deletions

View File

@@ -1,21 +1,13 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, ... }:
{
# --- GNOME on Wayland --------------------------------------------------
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.displayManager.gdm.enable = true;
services.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
# };
# };
# To disable installing GNOME's suite of applications
# and only be left with GNOME shell.
services.gnome.core-apps.enable = false;
services.gnome.core-developer-tools.enable = false;
services.gnome.games.enable = false;
environment.gnome.excludePackages = with pkgs; [ gnome-tour gnome-user-docs ];
}