Use Dinit for Dnsmasq and Attic
This commit is contained in:
parent
fcea8aa941
commit
23e8146077
3 changed files with 7 additions and 19 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue