From 5b6793d9e6d17709daabd0dd069a8ee411197c2d Mon Sep 17 00:00:00 2001
From: Myned <dev@bjork.tech>
Date: Wed, 26 Mar 2025 02:50:13 -0500
Subject: [PATCH] console: switch to kde desktop session

---
 options/custom/desktops/kde/default.nix |  8 +++++--
 profiles/console/default.nix            | 28 ++++++++++++++-----------
 2 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/options/custom/desktops/kde/default.nix b/options/custom/desktops/kde/default.nix
index 077850f..189ba2f 100644
--- a/options/custom/desktops/kde/default.nix
+++ b/options/custom/desktops/kde/default.nix
@@ -6,7 +6,11 @@
 with lib; let
   cfg = config.custom.desktops.kde;
 in {
-  options.custom.desktops.kde.enable = mkOption {default = false;};
+  options.custom.desktops.kde = {
+    enable = mkOption {default = false;};
+  };
 
-  config = mkIf cfg.enable {services.desktopManager.plasma6.enable = true;};
+  config = mkIf cfg.enable {
+    services.desktopManager.plasma6.enable = true;
+  };
 }
diff --git a/profiles/console/default.nix b/profiles/console/default.nix
index 8754d5a..89c6dd4 100644
--- a/profiles/console/default.nix
+++ b/profiles/console/default.nix
@@ -13,14 +13,14 @@
   custom = {
     minimal = true;
     profile = "console";
-    desktop = "gnome";
+    desktop = "kde";
 
     desktops = {
-      gnome.gdm = false;
+      #// gnome.gdm = false;
     };
 
     programs = {
-      gnome-shell.enable = true;
+      #// gnome-shell.enable = true;
 
       steam = {
         enable = true;
@@ -30,14 +30,18 @@
       };
     };
 
-    services.syncthing = {
-      enable = true;
-      folders =
-        lib.getAttrs [
-          "SYNC/.ignore"
-          "SYNC/game"
-        ]
-        options.custom.services.syncthing.folders.default;
+    services = {
+      kdeconnect.display = 0;
+
+      syncthing = {
+        enable = true;
+        folders =
+          lib.getAttrs [
+            "SYNC/.ignore"
+            "SYNC/game"
+          ]
+          options.custom.services.syncthing.folders.default;
+      };
     };
 
     settings = {
@@ -70,7 +74,7 @@
     steam = {
       enable = true;
       autoStart = true;
-      desktopSession = "gnome";
+      desktopSession = "plasma";
       user = config.custom.username;
     };