.nix/system/labwc.nix

35 lines
682 B
Nix
Raw Permalink Normal View History

2024-07-23 19:12:34 +00:00
{ config, pkgs, ... }:
{
services = {
xserver.enable = true;
greetd = {
enable = true;
settings={
default_session={
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --user-menu -rti --asterisks --cmd labwc";
user = "greeter";
};
};
};
};
programs = {
labwc.enable = true;
};
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInput = "tty";
StandardOutput = "tty";
StandardError = "journal"; # Without this errors will spam on screen
# Without these bootlogs will spam on screen
TTYReset = true;
TTYVHangup = true;
TTYVTDisallocate = true;
};
}