Skip to content

Commit

Permalink
feat(sound-levels-maintainer): add systemd user service
Browse files Browse the repository at this point in the history
  • Loading branch information
workflow committed Nov 20, 2024
1 parent d6e378c commit d90f0f3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions home/sound-levels-maintainer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,16 @@
);
in {
home.packages = [sound-levels-maintainer];

systemd.user.services.sound-levels-maintainer = {
Unit = {
Description = "Maintain input/output gain/volume levels";
};
Install.WantedBy = ["default.target"];
Service = {
Environment = "PATH=$PATH:/run/current-system/sw/bin";
ExecStart = "${sound-levels-maintainer}/bin/sound-levels-maintainer";
Restart = "always";
};
};
}

0 comments on commit d90f0f3

Please sign in to comment.