13 lines
291 B
Nix
13 lines
291 B
Nix
{ ... }:
|
|
let
|
|
cfg = config.sane.programs.seatd;
|
|
in
|
|
{
|
|
sane.programs.seatd = {};
|
|
|
|
# TODO: sandbox seatd
|
|
# also consider any alternatives (ConsoleKit?).
|
|
# /run/seatd.sock location can be configured, but only via compile-time flag
|
|
services.seatd.enable = lib.mkIf cfg.enabled true;
|
|
}
|