nixos-configuration/users/jalr/modules/mute-indicator.nix
Jakob Lechner c7b469c350 Change home-manager structure
After I quit Tradebyte, I'm now only having a single user account. It
makes sense to restructure the home-manager configuration.
2024-06-14 16:26:22 +02:00

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" ];
};
}