Automate some more startup tasks

This commit is contained in:
Nathan McCarty 2023-02-21 16:20:25 -05:00
parent b42283f459
commit 43731ba48c
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 31 additions and 0 deletions

View File

@ -47,6 +47,37 @@
{ command = "solaar config 1 dpi 4000"; } { command = "solaar config 1 dpi 4000"; }
]; ];
}; };
# System specific autoruns
systemd.user.services = {
# Start up solaar in tray icon mode
solaar = {
Unit = {
Description = "Solarr";
After = [ "graphical-session.target" ];
};
Service = {
Type = "simple";
ExecStart = ''
${pkgs.solaar}/bin/solaar -w hide
'';
};
};
# Startup noisetorch on our USB mic
noisetorch-startup = {
Unit = {
Description = "noisetorch";
After = [ "graphical-session.target" ];
};
Service = {
Type = "Noisetorch";
ExecStart = ''
/run/wrappers/bin/noisetorch -i alsa_input.usb-18072020_JLAB_TALK_GO_MICROPHONE-00.analog-stereo
'';
};
};
};
# Mako output configuration # Mako output configuration
programs.mako = { programs.mako = {
# Lock mako notifs to main display # Lock mako notifs to main display