seatd: split out of sway conf
This commit is contained in:
parent
c40ec1990a
commit
2789868703
|
@ -111,6 +111,7 @@
|
|||
./sane-theme.nix
|
||||
./sanebox.nix
|
||||
./schlock.nix
|
||||
./seatd.nix
|
||||
./sfeed.nix
|
||||
./shadow.nix
|
||||
./signal-desktop.nix
|
||||
|
|
12
hosts/common/programs/seatd.nix
Normal file
12
hosts/common/programs/seatd.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ ... }:
|
||||
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;
|
||||
}
|
|
@ -136,6 +136,7 @@ in
|
|||
"sane-screenshot"
|
||||
"sane-open"
|
||||
"sane-theme"
|
||||
"seatd"
|
||||
# "splatmoji" # used by sway config
|
||||
"sway-contrib.grimshot" # used by sway config
|
||||
"swayidle" # enable if you need it
|
||||
|
@ -239,11 +240,6 @@ in
|
|||
services.graphical-session.partOf = [ "default" ];
|
||||
};
|
||||
|
||||
# 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;
|
||||
|
||||
# TODO: this can go elsewhere
|
||||
hardware.bluetooth.enable = lib.mkIf cfg.enabled true;
|
||||
services.blueman.enable = lib.mkIf cfg.enabled true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user