From cc0cc15ee573c48e4d7595d8e2b94fa1541a1867 Mon Sep 17 00:00:00 2001 From: Andreas Schaafsma Date: Wed, 16 Sep 2026 08:11:41 +0200 Subject: [PATCH] WIP --- modules/nixos/desktop-environment/default.nix | 2 +- .../drivebystation-nix/configuration.nix | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/modules/nixos/desktop-environment/default.nix b/modules/nixos/desktop-environment/default.nix index 3a2a6e1..fe96c23 100644 --- a/modules/nixos/desktop-environment/default.nix +++ b/modules/nixos/desktop-environment/default.nix @@ -65,7 +65,7 @@ in { systemd.services.gnome-remote-desktop = { wantedBy = [ "graphical.target" ]; # for starting the unit automatically at boot }; - # services.displayManager.autoLogin.enable = false; + services.displayManager.autoLogin.enable = false; networking.firewall.allowedTCPPorts = [ 3389 3390 diff --git a/systems/x86_64-linux/drivebystation-nix/configuration.nix b/systems/x86_64-linux/drivebystation-nix/configuration.nix index ed45203..e3c7bc1 100644 --- a/systems/x86_64-linux/drivebystation-nix/configuration.nix +++ b/systems/x86_64-linux/drivebystation-nix/configuration.nix @@ -48,16 +48,16 @@ services = { # Enable Gnome Session - displayManager.gdm.enable = false; - displayManager.sddm.enable = true; - displayManager.sddm.wayland.enable = true; + displayManager.gdm.enable = true; + displayManager.sddm.enable = false; + # displayManager.sddm.wayland.enable = true; displayManager.autoLogin = { enable = false; user = "andreas"; }; displayManager.cosmic-greeter.enable = false; - displayManager.defaultSession = "cinnamon"; + displayManager.defaultSession = "gnome"; xserver = { enable = true; # Enable the deprecated X11 teletype terminal connection system. @@ -265,15 +265,15 @@ }; }; - services.xrdp = { - enable = true; - openFirewall = true; - defaultWindowManager = "cinnamon-session"; - }; + # services.xrdp = { + # enable = true; + # openFirewall = true; + # defaultWindowManager = "cinnamon-session"; + # }; ### tigervnc services.tigervnc = { - enable = true; + enable = false; users = { andreas = { localhost = false; # true for SSH-only