Automate some more startup tasks
This commit is contained in:
parent
b42283f459
commit
43731ba48c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue