flakes/modules/system/greetd_wayland.nix

22 lines
553 B
Nix
Raw Permalink Normal View History

2022-01-16 11:56:33 +07:00
{ pkgs, lib, ... }: {
services.greetd = {
enable = true;
settings = {
default_session = {
2024-01-17 15:33:46 +07:00
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --asterisks --time --cmd 'zsh -c \"source $HOME/.config/zsh/.zshrc && Hyprland > $XDG_RUNTIME_DIR/Hyprland.out\"'";
2022-01-16 11:56:33 +07:00
user = "greeter";
};
initial_session = {
command = "Hyprland > \"$XDG_RUNTIME_DIR/Hyprland.out\"";
user = "rin";
};
2022-01-16 11:56:33 +07:00
};
};
2024-01-17 15:22:07 +07:00
services.xserver = {
autorun = false;
displayManager.startx.enable = true;
};
2022-01-16 11:56:33 +07:00
}