mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 05:43:55 -05:00
user playerctld as systemd service
This commit is contained in:
parent
c3895dc388
commit
f8f1a48ce9
|
@ -129,7 +129,6 @@ in {
|
|||
(lib.getExe pkgs.mako)
|
||||
(lib.getExe pkgs.waybar)
|
||||
(lib.getExe pkgs.wayland-pipewire-idle-inhibit)
|
||||
(lib.getExe' pkgs.playerctl "playerctld")
|
||||
]
|
||||
++ lib.lists.optional (cfg.desktop.redShift)
|
||||
"${lib.getExe pkgs.gammastep} -l 33.74:-84.38"
|
||||
|
|
|
@ -161,7 +161,6 @@ in {
|
|||
{command = lib.getExe pkgs.autotiling;}
|
||||
{command = lib.getExe pkgs.mako;}
|
||||
{command = lib.getExe pkgs.wayland-pipewire-idle-inhibit;}
|
||||
{command = lib.getExe' pkgs.playerctl "playerctld";}
|
||||
]
|
||||
++ lib.optional cfg.desktop.redShift
|
||||
{command = "${lib.getExe pkgs.gammastep} -l 33.74:-84.38";}
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
swaylock.enable = lib.mkDefault true;
|
||||
waybar.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
services = {
|
||||
swayidle.enable = lib.mkDefault true;
|
||||
swayosd.enable = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -34,6 +34,11 @@
|
|||
swayosd
|
||||
];
|
||||
|
||||
services = {
|
||||
playerctld.enable = lib.mkDefault true;
|
||||
swayosd.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
configPackages =
|
||||
|
|
|
@ -217,7 +217,6 @@ in {
|
|||
};
|
||||
|
||||
swayidle.enable = lib.mkEnableOption "Swayidle idle daemon.";
|
||||
swayosd.enable = lib.mkEnableOption "On Screen Display (OSD) for volume/brightness/etc.";
|
||||
};
|
||||
|
||||
theme = {
|
||||
|
|
|
@ -3,6 +3,5 @@
|
|||
./easyeffects
|
||||
./mpd
|
||||
./swayidle
|
||||
./swayosd
|
||||
];
|
||||
}
|
||||
|
|
|
@ -7,9 +7,8 @@
|
|||
cfg = config.ar.home;
|
||||
hyprctl = lib.getExe' config.wayland.windowManager.hyprland.package "hyprctl";
|
||||
swaymsg = lib.getExe' config.wayland.windowManager.sway.package "swaymsg";
|
||||
|
||||
in {
|
||||
config = lib.mkIf cfg.apps.swayidle.enable {
|
||||
config = lib.mkIf cfg.services.swayidle.enable {
|
||||
services.swayidle = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
config = lib.mkIf config.ar.home.apps.swayosd.enable {
|
||||
services.swayosd.enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue