Auto-commit: 2026-01-07 07:48:25

This commit is contained in:
2026-01-07 07:48:25 +00:00
parent 80aa9866eb
commit f66536fa65

View File

@@ -1,10 +1,13 @@
{ pkgs, inputs, username, ... }:
{ pkgs, inputs, username, config, ... }:
{
services.greetd = {
enable = true;
settings = rec {
default_session = {
command = "${pkgs.uwsm}/bin/uwsm start -e -D Hyprland ${inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland}/bin/start-hyprland";
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;