NixOS-Config/modules/system/services/general/displaymanager/default.nix

15 lines
280 B
Nix

{ config, pkgs, ... }:
{
services.greetd = {
enable = config.system.desktop.enable;
restart = true;
settings = {
terminal = {
vt = 2;
switch = true;
};
default_session.command = "${pkgs.greetd.tuigreet}/bin/tuigreet";
};
};
}