feat(ada): tty update
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
5021f15788
commit
2c872403b6
3 changed files with 31 additions and 1 deletions
18
ada/programs/uwsm.nix
Normal file
18
ada/programs/uwsm.nix
Normal 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"}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
restart = false;
|
restart = false;
|
||||||
settings = {
|
settings = {
|
||||||
default_session = {
|
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";
|
user = "greeter";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
12
ada/services/logind.nix
Normal file
12
ada/services/logind.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
_: {
|
||||||
|
services = {
|
||||||
|
logind = {
|
||||||
|
settings = {
|
||||||
|
Login = {
|
||||||
|
NAutoVTs = 2;
|
||||||
|
ReserveVT = 2;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue