mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-21 15:53:32 +01:00
system: drop postgres
These days I'm no longer interested in the time commitment required for maintaining postgres for fun.
This commit is contained in:
parent
125dea6b30
commit
43dee0d1ec
@ -25,7 +25,6 @@ let
|
||||
mullvad
|
||||
allowSRB2Port
|
||||
allowDevPort
|
||||
postgres
|
||||
;
|
||||
|
||||
isPhone = config.programs.calls.enable;
|
||||
@ -78,7 +77,6 @@ in
|
||||
|
||||
iHaveLotsOfRam = mkEnableOption "tmpfs on /tmp";
|
||||
mullvad = mkEnableOption "mullvad vpn";
|
||||
postgres = mkEnableOption "postgres database for containers";
|
||||
allowSRB2Port = mkEnableOption "port for srb2";
|
||||
allowDevPort = mkEnableOption "port for development server";
|
||||
};
|
||||
@ -256,18 +254,6 @@ in
|
||||
enableExcludeWrapper = false;
|
||||
};
|
||||
|
||||
postgresql = mkIf postgres {
|
||||
enable = true;
|
||||
|
||||
ensureUsers = singleton {
|
||||
name = username;
|
||||
};
|
||||
|
||||
ensureDatabases = [
|
||||
username
|
||||
];
|
||||
};
|
||||
|
||||
openssh = {
|
||||
enable = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user