.dotfiles/modules/nixos/client/login.nix
Leon Schwarzäugl 6ea3851e72
Some checks failed
Flake check / Check flake (push) Has been cancelled
fix: small env related inaccuracies
2025-08-10 21:37:34 +02:00

24 lines
613 B
Nix

{ lib, config, pkgs, ... }:
{
options.swarselmodules.login = lib.mkEnableOption "login config";
config = lib.mkIf config.swarselmodules.login {
services.greetd = {
enable = true;
settings = {
# initial_session.command = "sway";
initial_session.command = "uwsm start -- sway-uwsm.desktop";
default_session.command = ''
${pkgs.tuigreet}/bin/tuigreet \
--time \
--asterisks \
--user-menu \
--cmd sway
'';
};
};
# environment.etc."greetd/environments".text = ''
# sway
# '';
};
}