blob: 42ff9a7e0e322b2f7e62fffaaf0b702b65eeac4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{
config,
lib,
...
}: let
cfg = config.collinux.desktop.greetd;
in
lib.mkIf cfg.enable {
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = lib.getExe cfg.command;
user = config.collinux.user.name;
};
default_session = initial_session;
};
};
}
|