From da2abb03d6451a4c662bb530536db06ed44d0e7f Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 7 May 2024 22:13:22 -0400 Subject: [PATCH] reduce xorg defaults from global to per-machine --- hosts/hp/default.nix | 2 ++ modules/gnome.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/hp/default.nix b/hosts/hp/default.nix index 48eda11..24c3713 100644 --- a/hosts/hp/default.nix +++ b/hosts/hp/default.nix @@ -19,6 +19,8 @@ in "/var/log/journal" ]; + services.xserver.displayManager.defaultSession = "gnome-xorg"; + services.openssh.hostKeys = [ { type = "ed25519"; path = "${persist}/ssh_host_ed25519_key"; } ]; diff --git a/modules/gnome.nix b/modules/gnome.nix index 6a57445..bb3aa2f 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -13,7 +13,6 @@ in displayManager.gdm.enable = true; displayManager.gdm.autoSuspend = false; desktopManager.gnome.enable = true; - displayManager.defaultSession = "gnome-xorg"; }; services.colord.enable = false;