change DM to tuigreet

This commit is contained in:
Leon Vatthauer 2024-03-31 10:26:42 +02:00
parent 20e0792b92
commit 61cec49a5e
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8

View file

@ -58,35 +58,44 @@
services.greetd = { services.greetd = {
enable = true; enable = true;
package = pkgs.greetd.gtkgreet;
settings = { settings = {
default_session = { default_session = {
command = "Hyprland --config /etc/greetd/hyprland.conf"; command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland";
user = "greeter"; user = "greeter";
}; };
}; };
}; };
environment.etc."greetd/environments".text = '' # services.greetd = {
Hyprland # enable = true;
''; # package = pkgs.greetd.gtkgreet;
environment.etc."greetd/hyprland.conf".text = '' # settings = {
monitor = DP-3,2560x1440@144,1920x0,1 # default_session = {
monitor = HDMI-A-5,1920x1080@75,0x0,1 # command = "Hyprland --config /etc/greetd/hyprland.conf";
misc { # user = "greeter";
disable_hyprland_logo = true # };
} # };
# };
# environment.etc."greetd/environments".text = ''
# Hyprland
# '';
# environment.etc."greetd/hyprland.conf".text = ''
# monitor = DP-3,2560x1440@144,1920x0,1
# monitor = HDMI-A-5,1920x1080@75,0x0,1
# misc {
# disable_hyprland_logo = true
# }
exec-once = gtkgreet -l -b /etc/greetd/wallpaper.jpg -s /etc/greetd/style.css; hyprctl dispatch exit # exec-once = tuigreet -l -b /etc/greetd/wallpaper.jpg -s /etc/greetd/style.css; hyprctl dispatch exit
''; # '';
environment.etc."greetd/wallpaper.jpg".source = ./hypr/wallpaper.jpg; # environment.etc."greetd/wallpaper.jpg".source = ./hypr/wallpaper.jpg;
environment.etc."greetd/style.css".text = '' # environment.etc."greetd/style.css".text = ''
window { # window {
background-position: center; # background-position: center;
background-repeat: no-repeat; # background-repeat: no-repeat;
background-size: cover; # background-size: cover;
background-color: black; # background-color: black;
} # }
''; # '';
# Configure console keymap # Configure console keymap
console.keyMap = "us"; console.keyMap = "us";