18 lines
434 B
Nix
18 lines
434 B
Nix
{ nixosConfig, lib, pkgs, ... }:
|
|
|
|
lib.mkIf nixosConfig.jalr.gui.enable {
|
|
home.packages = with pkgs; [
|
|
mute-indicator
|
|
];
|
|
|
|
systemd.user.services.mute-indicator = {
|
|
Unit.Description = "Mute Indicator";
|
|
Service = {
|
|
Type = "simple";
|
|
ExecStart = "${pkgs.mute-indicator}/bin/mute-indicator-service";
|
|
RestartSec = 5;
|
|
Restart = "on-failure";
|
|
};
|
|
Install.WantedBy = [ "default.target" ];
|
|
};
|
|
}
|