mirror of
https://github.com/thegeneralist01/config.git
synced 2026-03-09 18:30:01 +01:00
new stuff
This commit is contained in:
parent
6014ad7d7a
commit
01c8bfce80
18 changed files with 721 additions and 285 deletions
|
|
@ -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 {
|
|||
});
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue