Use Dinit for Dnsmasq and Attic

This commit is contained in:
Pim Kunis 2024-12-14 16:10:27 +01:00
parent fcea8aa941
commit 23e8146077
3 changed files with 7 additions and 19 deletions

View file

@ -9,14 +9,8 @@ nglib.makeSystem {
name = "nixng-attic";
config = {...}: {
dumb-init = {
enable = true;
type.services = {};
};
init.services.attic = {
shutdownOnExit = true;
};
dinit.enable = true;
init.services.attic.shutdownOnExit = true;
services.attic = {
enable = true;

View file

@ -10,14 +10,8 @@ nglib.makeSystem {
name = "nixng-dnsmasq";
config = {...}: {
dumb-init = {
enable = true;
type.services = {};
};
init.services.dnsmasq = {
shutdownOnExit = true;
};
dinit.enable = true;
init.services.dnsmasq.shutdownOnExit = true;
services.dnsmasq = {
enable = true;