enable postgreql service
This commit is contained in:
parent
a6334f2720
commit
c478fa24b5
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -5,7 +5,11 @@ in pkgs.nixosTest {
|
|||
name = "postgresql";
|
||||
|
||||
nodes.machine = { config, pkgs, ... }: {
|
||||
imports = [
|
||||
../../modules/blocks/postgresql.nix
|
||||
];
|
||||
|
||||
services.postgresql.enable = true;
|
||||
};
|
||||
|
||||
testScript = { nodes, ... }: ''
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue