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" "treefmt-nix": "treefmt-nix_2"
}, },
"locked": { "locked": {
"lastModified": 1729017428, "lastModified": 1734101800,
"narHash": "sha256-nxMMSUZXQafeg7kdQm3qGwgmhh7h83QRVD9SlPKnPnA=", "narHash": "sha256-wqEGpgd8bya9giHzrBKjlqUOEvaWr5nrbXqn4d8/q3E=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NixNG", "repo": "NixNG",
"rev": "ebc53664b0aa9496e742a4b360b8994e8caad807", "rev": "45fc112f5c22ad109a80aa153d7d0e00c06503c9",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

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

View file

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