summary refs log tree commit diff
path: root/host/Rory-desktop/configuration.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-06-27 08:23:38 +0200
committerRory& <root@rory.gay>2024-07-04 14:45:02 +0200
commit0330e8ac8b82469f00c33fc9dbc6b153f0d84bf1 (patch)
treeaeadde639206e30a9740981c855ebcf82e0f777a /host/Rory-desktop/configuration.nix
parentUpdate server (diff)
downloadRory-Open-Architecture-0330e8ac8b82469f00c33fc9dbc6b153f0d84bf1.tar.xz
Desktop update
Diffstat (limited to 'host/Rory-desktop/configuration.nix')
-rw-r--r--host/Rory-desktop/configuration.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/host/Rory-desktop/configuration.nix b/host/Rory-desktop/configuration.nix
index 28a3b7f..756a894 100644
--- a/host/Rory-desktop/configuration.nix
+++ b/host/Rory-desktop/configuration.nix
@@ -36,6 +36,10 @@ args@{ config, pkgs, lib, nhekoSrc, mtxclientSrc, ... }:
     #readOnlyNixStore = false;
   };
 
+  environment.sessionVariables = {
+    ZSH_DISABLE_COMPFIX = "true";
+  };
+
   services.udev.extraRules = ''
     #SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0664", GROUP="users"
     # SDP protocol
@@ -73,12 +77,14 @@ args@{ config, pkgs, lib, nhekoSrc, mtxclientSrc, ... }:
 
   services = {
     xserver = {
+      displayManager.gdm.enable = true;
+      displayManager.lightdm.enable = false;
       enable = true;
       updateDbusEnvironment = true;
-      libinput.enable = true;
-      layout = "us";
+      xkb.layout = "us";
       wacom.enable = true;
     };
+    libinput.enable = true;
     
     openssh = {
       enable = true;
@@ -185,7 +191,7 @@ args@{ config, pkgs, lib, nhekoSrc, mtxclientSrc, ... }:
         };
       };
       xdgOpenUsePortal = true;
-      gtkUsePortal = true;
+      #gtkUsePortal = true; # deprecated
 
     };
     #sounds.enable = true;
@@ -195,7 +201,7 @@ args@{ config, pkgs, lib, nhekoSrc, mtxclientSrc, ... }:
     #autostart.enable = true;
   };
   fonts = {
-    fonts = with pkgs; [
+    packages = with pkgs; [
       (nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
       noto-fonts-monochrome-emoji
     ];