feat: multiple xD look bellow

- clean up login stuff
- add uwsm
- move "no-x" to system_profiles
- clean up hyprland.nix
This commit is contained in:
Ranomier 2025-09-07 23:27:01 +02:00
parent 461a4b0146
commit cf9395d91d
8 changed files with 78 additions and 60 deletions

View file

@ -0,0 +1,28 @@
{pkgs, ...}: let
default_command = "Hyprland";
in {
services.greetd = {
enable = true;
vt = 7;
settings = {
initial_session = {
command = default_command;
user = "ranomier";
};
default_session = {
command = ''
${pkgs.greetd.tuigreet}/bin/tuigreet \
--time \
--time-format '%Y-%m-%dT%H:%M:%S %A' \
--remember \
--user-menu \
--user-menu-min-uid 1000 \
--user-menu-max-uid 2000 \
--theme 'border=lightgreen;text=lightgreen;prompt=lightgreen;time=lightgreen;action=lightgreen;button=lightgreen;input=lightgreen' \
--cmd ${default_command}
'';
user = "greeter";
};
};
};
}