.dotfiles/profiles/common/nixos/login.nix
Swarsel 5acbfe0edd
refactor: split common/nixos.nix and -/home.nix
Split these big files into modular files that
are easier to share and read on their own.
2024-07-23 11:37:11 +02:00

21 lines
416 B
Nix

{ pkgs, ... }:
{
services.greetd = {
enable = true;
settings = {
initial_session.command = "sway";
# initial_session.user ="swarsel";
default_session.command = ''
${pkgs.greetd.tuigreet}/bin/tuigreet \
--time \
--asterisks \
--user-menu \
--cmd sway
'';
};
};
environment.etc."greetd/environments".text = ''
sway
'';
}