feat(nixos): migrate system configuration

This commit is contained in:
alexion committed 2026-08-30 19:40:21 -04:00
1 parent c5f34e9460
commit 7a6dc4d6f3
101 files changed
+6247

No files matched your search

@@ -0,0 +1,23 @@
{
config,
lib,
pkgs,
...
}:
# Text login: greetd running the tuigreet greeter, which starts the session
# through the universal Wayland session manager.
let
cfg = config.modules.desktop.session.login;
in
{
options.modules.desktop.session.login.enable = lib.mkEnableOption "greetd with the tuigreet text greeter";
config = lib.mkIf cfg.enable {
services.greetd = {
enable = true;
settings.default_session.command =
"${lib.getExe pkgs.tuigreet} --time --remember "
+ "--cmd 'uwsm start -e -D Hyprland hyprland.desktop'";
};
};
}