This commit is contained in:
beanigen 2025-04-16 21:21:03 +08:00
parent 3146cd2355
commit 123a8380d3
No known key found for this signature in database
13 changed files with 275 additions and 26 deletions

19
base/greetd.nix Normal file
View file

@ -0,0 +1,19 @@
{pkgs, ...}:{
services.greetd = {
enable = true;
restart = true;
settings.default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
user = "greeter";
};
};
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
StandardError = "journal";
TTYReset = "true";
TTYHangup = "true";
TTYVTDisallocate = "true";
};
}