1
0
Fork 0

enable postgreql service

This commit is contained in:
ibizaman 2023-11-21 23:30:16 -08:00
parent a6334f2720
commit c478fa24b5
2 changed files with 6 additions and 2 deletions

View file

@ -8,7 +8,7 @@
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs@{ self, nixpkgs, sops-nix, nix-flake-tests, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system:
outputs = { nixpkgs, nix-flake-tests, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in

View file

@ -5,7 +5,11 @@ in pkgs.nixosTest {
name = "postgresql";
nodes.machine = { config, pkgs, ... }: {
imports = [
../../modules/blocks/postgresql.nix
];
services.postgresql.enable = true;
};
testScript = { nodes, ... }: ''