Switch matrix to dinit

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2024-11-03 17:30:54 +01:00
parent 0c13870fdb
commit 4476fc0aba
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
4 changed files with 4 additions and 16 deletions

View file

@ -20,10 +20,7 @@ makeSystem {
mkMerge
;
in {
dumb-init = {
enable = true;
type.services = {};
};
dinit.enable = true;
environment.systemPackages = [pkgs.openssh];

View file

@ -12,10 +12,7 @@ makeSystem {
...
}: {
config = {
dumb-init = {
enable = true;
type.services = {};
};
dinit.enable = true;
services.postgresql = {
enable = true;
package = pkgs.postgresql_12;

View file

@ -7,10 +7,7 @@ makeSystem {
name = "redis";
inherit nixpkgs;
config = {pkgs, ...}: {
dumb-init = {
enable = true;
type.services = {};
};
dinit.enable = true;
users.users."redis" = {
home = "/var/empty";

View file

@ -19,10 +19,7 @@ makeSystem {
mkMerge
;
in {
dumb-init = {
enable = true;
type.services = {};
};
dinit.enable = true;
environment.systemPackages = [pkgs.openssh];