OOKNET                             [ /  search the index  ]  
──────────────────────────────────────────────────────────────────────────────────────
══════════════════════════════════════════════════════════════════════════════════════
OOKNET   [ /  search  ]  
────────────────────────────────────────────────
════════════════════════════════════════════════
 
HASH      98aaec1caf0c
DATE      2025-02-11
SUBJECT   hyprland: disable greetd
FILES     1 CHANGED
HASH      98aaec1caf0c
DATE      2025-02-11
SUBJECT   hyprland: disable greetd
FILES     1 CHANGED
 

diff --git a/modules/nixos/workstation/environment/hyprland/default.nix b/modules/
nixos/workstation/environment/hyprland/default.nix
index a303768..1915c1f 100644
--- a/modules/nixos/workstation/environment/hyprland/default.nix
+++ b/modules/nixos/workstation/environment/hyprland/default.nix
@@ -5,8 +5,9 @@
   pkgs,
   ...
 }: let
-  inherit (lib) concatStringsSep getExe mkIf;
+  inherit (lib) optionalAttrs mkIf;
   inherit (config.ooknet.workstation) environment;
+  inherit (config.ooknet.hardware) gpu;
   inherit (inputs'.hyprland.packages) xdg-desktop-portal-hyprland hyprland;
 in {
   config = mkIf (environment == "hyprland") {
@@ -33,34 +34,6 @@ in {
     # required for wayland screen lockers to work
     security.pam.services.hyprlock.text = "auth include login";
 
-    services.greetd = {
-      enable = true;
-      vt = 2;
-      settings = {
-        default_session = {
-          command = concatStringsSep " " [
-            (getExe pkgs.greetd.tuigreet)
-            "--time"
-            "--remember"
-            "--cmd"
-            "Hyprland"
-          ];
-          user = "greeter";
-        };
-      };
-    };
-
-    systemd.services.greetd.serviceConfig = {
-      Type = "idle";
-      StandardInput = "tty";
-      StandardOutput = "tty";
-      StandardError = "journal"; # Without this errors will spam on screen
-      # Without these bootlogs will spam on screen
-      TTYReset = true;
-      TTYVHangup = true;
-      TTYVTDisallocate = true;
-    };
-
     nix.settings = {
       substituters = ["https://hyprland.cachix.org"];
       trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJ
M7ypFP8PwtkuGc="];

diff --git a/modules/nixos/workstation/envir
onment/hyprland/default.nix b/modules/nixos/
workstation/environment/hyprland/default.nix
index a303768..1915c1f 100644
--- a/modules/nixos/workstation/environment/
hyprland/default.nix
+++ b/modules/nixos/workstation/environment/
hyprland/default.nix
@@ -5,8 +5,9 @@
   pkgs,
   ...
 }: let
-  inherit (lib) concatStringsSep getExe mkI
f;
+  inherit (lib) optionalAttrs mkIf;
   inherit (config.ooknet.workstation) envir
onment;
+  inherit (config.ooknet.hardware) gpu;
   inherit (inputs'.hyprland.packages) xdg-d
esktop-portal-hyprland hyprland;
 in {
   config = mkIf (environment == "hyprland")
 {
@@ -33,34 +34,6 @@ in {
     # required for wayland screen lockers t
o work
     security.pam.services.hyprlock.text = "
auth include login";
 
-    services.greetd = {
-      enable = true;
-      vt = 2;
-      settings = {
-        default_session = {
-          command = concatStringsSep " " [
-            (getExe pkgs.greetd.tuigreet)
-            "--time"
-            "--remember"
-            "--cmd"
-            "Hyprland"
-          ];
-          user = "greeter";
-        };
-      };
-    };
-
-    systemd.services.greetd.serviceConfig =
 {
-      Type = "idle";
-      StandardInput = "tty";
-      StandardOutput = "tty";
-      StandardError = "journal"; # Without 
this errors will spam on screen
-      # Without these bootlogs will spam on
 screen
-      TTYReset = true;
-      TTYVHangup = true;
-      TTYVTDisallocate = true;
-    };
-
     nix.settings = {
       substituters = ["https://hyprland.cac
hix.org"];
       trusted-public-keys = ["hyprland.cach
ix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP
8PwtkuGc="];
 
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET