feat!: replace sddm with greetd
This commit is contained in:
parent
e0fa8c592c
commit
737042f363
1 changed files with 19 additions and 2 deletions
|
@ -1,7 +1,24 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.displayManager.sddm = {
|
||||
services.greetd = {
|
||||
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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue