17 lines
460 B
Nix
17 lines
460 B
Nix
{ pkgs, inputs, username, config, ... }:
|
|
{
|
|
services.greetd = {
|
|
enable = true;
|
|
settings = rec {
|
|
default_session = {
|
|
command =
|
|
if config.my.desktop.hyprland.enable
|
|
then "${pkgs.uwsm}/bin/uwsm start -e -D Hyprland ${inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland}/bin/start-hyprland"
|
|
else "";
|
|
user = "${username}";
|
|
};
|
|
initial_session = default_session;
|
|
};
|
|
};
|
|
}
|