Added greeter to hyprland

This commit is contained in:
2024-08-14 16:09:21 -03:00
parent 82f0558c68
commit 108d280c5f
2 changed files with 16 additions and 2 deletions

View File

@@ -12,7 +12,6 @@ in {
../../modules/containers.nix ../../modules/containers.nix
../../modules/virtualization.nix ../../modules/virtualization.nix
../../modules/harden.nix ../../modules/harden.nix
../../modules/kde.nix
../../modules/hyprland.nix ../../modules/hyprland.nix
]; ];

View File

@@ -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 = { programs.hyprland = {
enable = true; enable = true;
}; };