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

@ -595,11 +595,11 @@
"treefmt-nix": "treefmt-nix_2"
},
"locked": {
"lastModified": 1729017428,
"narHash": "sha256-nxMMSUZXQafeg7kdQm3qGwgmhh7h83QRVD9SlPKnPnA=",
"lastModified": 1734101800,
"narHash": "sha256-wqEGpgd8bya9giHzrBKjlqUOEvaWr5nrbXqn4d8/q3E=",
"owner": "nix-community",
"repo": "NixNG",
"rev": "ebc53664b0aa9496e742a4b360b8994e8caad807",
"rev": "45fc112f5c22ad109a80aa153d7d0e00c06503c9",
"type": "github"
},
"original": {

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;