renamed hardware.pulseaudio to services.pulseaudio
This commit is contained in:
parent
d901dcba23
commit
e9a3ead518
3 changed files with 6 additions and 6 deletions
|
@ -72,6 +72,7 @@
|
|||
Unit = {
|
||||
Description = "Auto sync Nextcloud";
|
||||
After = "network-online.target";
|
||||
PartOf = ["nextcloud-autosyncs.target"];
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
|
@ -82,12 +83,13 @@
|
|||
};
|
||||
Install.WantedBy = ["multi-user.target"];
|
||||
};
|
||||
services.nextcloud-autosyncs = {
|
||||
targets.nextcloud-autosyncs = {
|
||||
Unit = {
|
||||
Description = "workers";
|
||||
Requires = ["nextcloud-autosync@Music" "nextcloud-autosync@Pictures" "nextcloud-autosync@Scripts" "nextcloud-autosync@Videos" "nextcloud-autosync@Documents"];
|
||||
PartOf = "nextcloud-autosyncs.target";
|
||||
};
|
||||
Install.WantedBy = ["multi-user.target"];
|
||||
};
|
||||
timers.nextcloud-autosyncs = {
|
||||
Unit.Description = "Automatic sync files with Nextcloud when booted up after 5 minutes then rerun every 60 minutes";
|
||||
|
@ -97,7 +99,7 @@
|
|||
};
|
||||
|
||||
# Nicely reload system units when changing configs
|
||||
startServices = true;
|
||||
startServices = "sd-switch";
|
||||
};
|
||||
|
||||
home = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue