Auto-commit: 2026-01-07 07:48:25
This commit is contained in:
@@ -1,10 +1,13 @@
|
|||||||
{ pkgs, inputs, username, ... }:
|
{ pkgs, inputs, username, config, ... }:
|
||||||
{
|
{
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = rec {
|
settings = rec {
|
||||||
default_session = {
|
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}";
|
user = "${username}";
|
||||||
};
|
};
|
||||||
initial_session = default_session;
|
initial_session = default_session;
|
||||||
|
|||||||
Reference in New Issue
Block a user