aboutsummaryrefslogtreecommitdiff
path: root/vps-configuration.env.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-10 17:43:08 -0300
committerEuAndreh <eu@euandre.org>2020-08-10 17:43:08 -0300
commit99c3d650d6dffa4ab5cba146cfde67c300e16fdc (patch)
treebfb27c895a239f093a8086cd16654874d1ef0f3e /vps-configuration.env.nix
parentSemi working setup: Terraform and LetsEncrypt working (diff)
downloadserver-99c3d650d6dffa4ab5cba146cfde67c300e16fdc.tar.gz
server-99c3d650d6dffa4ab5cba146cfde67c300e16fdc.tar.xz
Filter encrypted files from linting
Diffstat (limited to 'vps-configuration.env.nix')
-rw-r--r--vps-configuration.env.nix15
1 files changed, 5 insertions, 10 deletions
diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix
index 6ffd900..2283449 100644
--- a/vps-configuration.env.nix
+++ b/vps-configuration.env.nix
@@ -25,10 +25,7 @@ in {
interfaces.ens3.useDHCP = true;
};
- environment.systemPackages = with pkgs; [
- vim
- git
- ];
+ environment.systemPackages = with pkgs; [ vim git ];
networking.firewall.allowedTCPPorts = [ 80 443 22 ];
@@ -89,12 +86,10 @@ in {
postgresql = {
enable = true;
ensureDatabases = [ "nextcloud" ];
- ensureUsers = [
- {
- name = "nextcloud";
- ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
- }
- ];
+ ensureUsers = [{
+ name = "nextcloud";
+ ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
+ }];
};
gitweb = {