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