1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-09 18:30:01 +01:00

new stuff

This commit is contained in:
TheGeneralist 2026-01-08 21:15:12 +01:00
parent 6014ad7d7a
commit 01c8bfce80
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
18 changed files with 721 additions and 285 deletions

View file

@ -1,12 +1,14 @@
# stolen from https://github.com/RGBCube/ncc/blob/94c349aa767f04f40ff4165c70c15ed3c3996f82/modules/postgresql.nix
{ config, lib, pkgs, ... }: let
inherit (lib) flip mkForce mkOverride mkValue;
inherit (lib) flip mkForce mkOverride mkOption;
in {
config.environment.systemPackages = [
config.services.postgresql.package
];
options.services.postgresql.ensure = mkValue [];
options.services.postgresql.ensure = mkOption {
default = [];
};
config.services.postgresql = {
enable = true;
@ -41,4 +43,3 @@ in {
});
};
}