renamed hardware.pulseaudio to services.pulseaudio

This commit is contained in:
Lillian Violet 2025-01-04 15:20:09 +01:00
parent d901dcba23
commit e9a3ead518
3 changed files with 6 additions and 6 deletions

View file

@ -72,6 +72,7 @@
Unit = { Unit = {
Description = "Auto sync Nextcloud"; Description = "Auto sync Nextcloud";
After = "network-online.target"; After = "network-online.target";
PartOf = ["nextcloud-autosyncs.target"];
}; };
Service = { Service = {
Type = "simple"; Type = "simple";
@ -82,12 +83,13 @@
}; };
Install.WantedBy = ["multi-user.target"]; Install.WantedBy = ["multi-user.target"];
}; };
services.nextcloud-autosyncs = { targets.nextcloud-autosyncs = {
Unit = { Unit = {
Description = "workers"; Description = "workers";
Requires = ["nextcloud-autosync@Music" "nextcloud-autosync@Pictures" "nextcloud-autosync@Scripts" "nextcloud-autosync@Videos" "nextcloud-autosync@Documents"]; Requires = ["nextcloud-autosync@Music" "nextcloud-autosync@Pictures" "nextcloud-autosync@Scripts" "nextcloud-autosync@Videos" "nextcloud-autosync@Documents"];
PartOf = "nextcloud-autosyncs.target"; PartOf = "nextcloud-autosyncs.target";
}; };
Install.WantedBy = ["multi-user.target"];
}; };
timers.nextcloud-autosyncs = { timers.nextcloud-autosyncs = {
Unit.Description = "Automatic sync files with Nextcloud when booted up after 5 minutes then rerun every 60 minutes"; 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 # Nicely reload system units when changing configs
startServices = true; startServices = "sd-switch";
}; };
home = { home = {

View file

@ -183,12 +183,10 @@
# Enable bluetooth hardware # Enable bluetooth hardware
bluetooth.enable = true; bluetooth.enable = true;
# Enable sound with pipewire.
pulseaudio.enable = false;
}; };
security.rtkit.enable = true; security.rtkit.enable = true;
services.pulseaudio.enable = false;
virtualisation.podman = { virtualisation.podman = {
enable = true; enable = true;
dockerCompat = true; dockerCompat = true;

View file

@ -228,9 +228,9 @@
bluetooth.enable = true; bluetooth.enable = true;
# Enable sound with pipewire. # Enable sound with pipewire.
pulseaudio.enable = false;
}; };
services.pulseaudio.enable = false;
users.users.lillian.extraGroups = ["decky" "tss" "input"]; users.users.lillian.extraGroups = ["decky" "tss" "input"];
# Enable completion of system packages by zsh # Enable completion of system packages by zsh