mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 08:43:55 -05:00
home: add swayosd service
This commit is contained in:
parent
650ce2c546
commit
e469d1e0cf
|
@ -17,6 +17,7 @@
|
||||||
./rofi
|
./rofi
|
||||||
./swayidle
|
./swayidle
|
||||||
./swaylock
|
./swaylock
|
||||||
|
./swayosd
|
||||||
./thunar
|
./thunar
|
||||||
./tmux
|
./tmux
|
||||||
./vsCodium
|
./vsCodium
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
swaymsg = lib.getExe' config.wayland.windowManager.sway.package "swaymsg";
|
swaymsg = lib.getExe' config.wayland.windowManager.sway.package "swaymsg";
|
||||||
|
|
||||||
in {
|
in {
|
||||||
config = lib.mkIf config.ar.home.apps.swayidle.enable {
|
config = lib.mkIf cfg.apps.swayidle.enable {
|
||||||
services.swayidle = {
|
services.swayidle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
9
homeManagerModules/apps/swayosd/default.nix
Normal file
9
homeManagerModules/apps/swayosd/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
config = lib.mkIf config.ar.home.apps.swayosd.enable {
|
||||||
|
services.swayosd.enable = true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -11,6 +11,7 @@
|
||||||
rofi.enable = lib.mkDefault true;
|
rofi.enable = lib.mkDefault true;
|
||||||
swayidle.enable = lib.mkDefault true;
|
swayidle.enable = lib.mkDefault true;
|
||||||
swaylock.enable = lib.mkDefault true;
|
swaylock.enable = lib.mkDefault true;
|
||||||
|
swayosd.enable = lib.mkDefault true;
|
||||||
waybar.enable = lib.mkDefault true;
|
waybar.enable = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,7 @@ in {
|
||||||
rofi.enable = lib.mkEnableOption "Rofi launcher.";
|
rofi.enable = lib.mkEnableOption "Rofi launcher.";
|
||||||
swayidle.enable = lib.mkEnableOption "Swayidle idle daemon.";
|
swayidle.enable = lib.mkEnableOption "Swayidle idle daemon.";
|
||||||
swaylock.enable = lib.mkEnableOption "Swaylock screen locker.";
|
swaylock.enable = lib.mkEnableOption "Swaylock screen locker.";
|
||||||
|
swayosd.enable = lib.mkEnableOption "On Screen Display (OSD) for volume/brightness/etc.";
|
||||||
|
|
||||||
thunar.enable = lib.mkOption {
|
thunar.enable = lib.mkOption {
|
||||||
description = "Thunar file manager.";
|
description = "Thunar file manager.";
|
||||||
|
|
Loading…
Reference in a new issue