Rewritten and moved portable module Updated background Disabled garnix substitutor Small changes to greetd
25 lines
519 B
Nix
25 lines
519 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.niksos.desktop.enable {
|
|
# greetd display manager
|
|
services.greetd = let
|
|
session = {
|
|
command = lib.mkDefault "${lib.getExe config.programs.uwsm.package} start hyprland-uwsm.desktop";
|
|
user = "jsw";
|
|
};
|
|
in {
|
|
enable = true;
|
|
|
|
settings = {
|
|
terminal.vt = 1;
|
|
default_session = session;
|
|
initial_session = session;
|
|
};
|
|
};
|
|
|
|
programs.uwsm.enable = config.niksos.desktop.hyprland;
|
|
};
|
|
}
|