feat: extract seatd service to reusable module with boot log suppression

- Create modules/services/seatd.nix for clean greetd/tuigreet login experience
- Add boot log suppression options to prevent systemd messages on login screen
- Configure kernel parameters and journald to minimize console noise
- Update both little-rascal and congenital-optimist to use new seatd module
- Ensure consistent login experience across all machines
- Maintain compatibility with existing lab tool (binary name: lab)
This commit is contained in:
Geir Okkenhaug Jerstad 2025-06-30 14:47:28 +02:00
parent 5f65abc2cc
commit 5c9c5bbbc4
3 changed files with 94 additions and 21 deletions

View file

@ -46,6 +46,9 @@
# Security
../../modules/security/ssh-keys.nix
# Services
../../modules/services/seatd.nix
];
networking = {
@ -90,21 +93,13 @@
# Laptop-specific services
services = {
# Enable clean seatd/greetd login
seatd-clean.enable = true;
# Power management for laptop
power-profiles-daemon.enable = true;
upower.enable = true;
# Display manager
greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd ${pkgs.zsh}/bin/zsh";
user = "greeter";
};
};
};
# Essential services
tailscale.enable = true;
blueman.enable = true;