feat(ada): tty update

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-05-29 16:12:16 +03:00
parent 5021f15788
commit 2c872403b6
3 changed files with 31 additions and 1 deletions

18
ada/programs/uwsm.nix Normal file
View file

@ -0,0 +1,18 @@
{
pkgs,
lib,
...
}: {
programs = {
uwsm = {
enable = true;
waylandCompositors = {
"hyprland" = {
prettyName = "Hyprland";
comment = "Hyprland compositor managed by UWSM";
binPath = "${lib.getExe' pkgs.hyprland "start-hyprland"}";
};
};
};
};
}

View file

@ -9,7 +9,7 @@
restart = false;
settings = {
default_session = {
command = "${lib.getExe pkgs.tuigreet} -r -t -c ${lib.getExe' pkgs.hyprland "start-hyprland"} --greet-align center";
command = "${lib.getExe pkgs.tuigreet} --greet-align center -r -t -c ${lib.getExe pkgs.uwsm} start default";
user = "greeter";
};
};

12
ada/services/logind.nix Normal file
View file

@ -0,0 +1,12 @@
_: {
services = {
logind = {
settings = {
Login = {
NAutoVTs = 2;
ReserveVT = 2;
};
};
};
};
}