diff --git a/hosts/Pegasus/default.nix b/hosts/Pegasus/default.nix index 145504b..67609f7 100644 --- a/hosts/Pegasus/default.nix +++ b/hosts/Pegasus/default.nix @@ -12,7 +12,6 @@ in { ../../modules/containers.nix ../../modules/virtualization.nix ../../modules/harden.nix - ../../modules/kde.nix ../../modules/hyprland.nix ]; diff --git a/modules/hyprland.nix b/modules/hyprland.nix index 618450e..c4fd0cf 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -1,4 +1,19 @@ -{...}: { +{pkgs, ...}: { + # Enable Display Manager + services.greetd = { + enable = true; + settings = { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --time-format '%I:%M %p | %a • %h | %F' --cmd Hyprland"; + user = "greeter"; + }; + }; + }; + + environment.systemPackages = with pkgs; [ + greetd.tuigreet + ]; + programs.hyprland = { enable = true; };