feat!: replace sddm with greetd

This commit is contained in:
Youwen Wu 2024-09-30 00:09:33 -07:00
parent e0fa8c592c
commit 737042f363
Signed by untrusted user: youwen
GPG key ID: 865658ED1FE61EC3

View file

@ -1,7 +1,24 @@
{ pkgs, ... }:
{ {
services.displayManager.sddm = { services.greetd = {
enable = true; enable = true;
wayland.enable = true; settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland --remember --greeting 'Access is restricted to authorized personnel only.'";
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;
}; };
programs.sway = { programs.sway = {