Set audio-recorder service to start after sound.target reached (#34)
- disable i2c-rtc-start, not functioning correctly currently Signed-off-by: Satu Koskinen <satu.a.koskinen@gmail.com>
This commit is contained in:
parent
150749feae
commit
e39008b0cc
@ -72,7 +72,9 @@
|
|||||||
User = "root"; # Replace with appropriate user
|
User = "root"; # Replace with appropriate user
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
};
|
};
|
||||||
startLimitIntervalSec = 0;
|
unitConfig = {
|
||||||
|
After = "sound.target";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -13,6 +13,7 @@ in {
|
|||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
# disable internal sound card and vc4 gpu
|
# disable internal sound card and vc4 gpu
|
||||||
|
# to set USB sound card as default
|
||||||
blacklistedKernelModules = ["snd_bcm2835" "vc4"];
|
blacklistedKernelModules = ["snd_bcm2835" "vc4"];
|
||||||
# enable i2c and rtc modules
|
# enable i2c and rtc modules
|
||||||
kernelModules = ["i2c-dev" "i2c_bcm2708" "rtc_ds1307"];
|
kernelModules = ["i2c-dev" "i2c_bcm2708" "rtc_ds1307"];
|
||||||
|
@ -9,6 +9,7 @@ in {
|
|||||||
sdImage.compressImage = false;
|
sdImage.compressImage = false;
|
||||||
|
|
||||||
# disable internal sound card and vc4 gpu
|
# disable internal sound card and vc4 gpu
|
||||||
|
# to set USB sound card as default
|
||||||
boot.blacklistedKernelModules = ["snd_bcm2835" "vc4"];
|
boot.blacklistedKernelModules = ["snd_bcm2835" "vc4"];
|
||||||
# enable i2c and rtc modules
|
# enable i2c and rtc modules
|
||||||
boot.kernelModules = ["i2c-dev" "i2c_bcm2708" "rtc_ds1307"];
|
boot.kernelModules = ["i2c-dev" "i2c_bcm2708" "rtc_ds1307"];
|
||||||
@ -50,8 +51,11 @@ in {
|
|||||||
interval-secs = 10;
|
interval-secs = 10;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
# disabled for now, with current config
|
||||||
|
# RTC resets after shutdown
|
||||||
services.i2c-rtc-start = {
|
services.i2c-rtc-start = {
|
||||||
enable = true;
|
enable = false;
|
||||||
i2c-bus = 1;
|
i2c-bus = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user