streamcontroller: move to own module
This commit is contained in:
@@ -29,8 +29,6 @@ in
|
||||
description = "Extra environment variables for Hyprland";
|
||||
};
|
||||
|
||||
enableStreamController = mkEnableOption "streamcontroller service";
|
||||
|
||||
enableGrimblast = mkEnableOption "grimblast screenshot keybinds";
|
||||
|
||||
enableWacom = mkEnableOption "Wacom tablet device configuration";
|
||||
@@ -161,26 +159,6 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services = mkIf cfg.enableStreamController {
|
||||
streamcontroller = {
|
||||
Unit = {
|
||||
Description = "Streamcontroller service";
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
After = [ "graphical-session.target" ];
|
||||
Requisite = [ "graphical-session.target" ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${pkgs.streamcontroller}/bin/streamcontroller -b";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = pkgs.hyprland;
|
||||
|
||||
Reference in New Issue
Block a user