2023-11-04 02:28:27 +01:00
|
|
|
{ lib, config, pkgs, ... }:
|
2024-04-14 22:24:23 +02:00
|
|
|
{
|
|
|
|
config = lib.mkIf (config.syscfg.make.gui) {
|
2023-11-04 02:28:27 +01:00
|
|
|
|
|
|
|
services.greetd = {
|
|
|
|
enable = true;
|
|
|
|
settings = rec {
|
|
|
|
initial_session = {
|
2023-11-16 23:06:28 +01:00
|
|
|
command = "zsh";
|
2024-04-14 07:57:07 +02:00
|
|
|
user = "${config.syscfg.defaultUser}";
|
2023-11-04 02:28:27 +01:00
|
|
|
};
|
|
|
|
default_session = initial_session;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
environment.etc."greetd/environments".text = ''
|
|
|
|
Hyprland
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|