change DM to tuigreet
This commit is contained in:
parent
20e0792b92
commit
61cec49a5e
1 changed files with 31 additions and 22 deletions
|
@ -58,35 +58,44 @@
|
|||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
package = pkgs.greetd.gtkgreet;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "Hyprland --config /etc/greetd/hyprland.conf";
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
};
|
||||
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
|
||||
}
|
||||
# services.greetd = {
|
||||
# enable = true;
|
||||
# package = pkgs.greetd.gtkgreet;
|
||||
# settings = {
|
||||
# default_session = {
|
||||
# command = "Hyprland --config /etc/greetd/hyprland.conf";
|
||||
# user = "greeter";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# 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
|
||||
'';
|
||||
environment.etc."greetd/wallpaper.jpg".source = ./hypr/wallpaper.jpg;
|
||||
environment.etc."greetd/style.css".text = ''
|
||||
window {
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-color: black;
|
||||
}
|
||||
'';
|
||||
# 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/style.css".text = ''
|
||||
# window {
|
||||
# background-position: center;
|
||||
# background-repeat: no-repeat;
|
||||
# background-size: cover;
|
||||
# background-color: black;
|
||||
# }
|
||||
# '';
|
||||
|
||||
# Configure console keymap
|
||||
console.keyMap = "us";
|
||||
|
|
Loading…
Reference in a new issue