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 = {
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 = {

View file

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

View file

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