nixos-config/config/login.nix

26 lines
449 B
Nix
Raw Normal View History

2022-01-06 21:14:02 -05:00
{ config, pkgs, username, ... }:
{
environment.systemPackages = with pkgs; [
# Greeter
greetd.gtkgreet
# Window manager used to display the greeter
cage
];
services.greetd.enable = true;
services.greetd.settings = {
default_session = {
command = "cage -s -- gtkgreet";
user = "greeter";
};
};
environment.etc = {
"greetd/environments".text = ''
sway
fish
bash
'';
};
}