bekkalokk: add snappymail #39
No reviewers
Labels
No Label
art
backup
big
blocked
bug
crash report
disputed
documentation
duplicate
enhancement
good first issue
logging
nixos
question
salt
security
servers n' hardware
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Drift/pvv-nixos-config#39
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "bekkalokk-snappymail"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
DNS slow => No Cert yet
Otherwise; works.
The admin password is secret for now >:)
(But i'll get started on vaultwarden)
@ -0,0 +9,4 @@
options.services.snappymail = {
enable = mkEnableOption (lib.mdDoc "Snappymail");
package = mkOption {
mkPackageOption pkgs "snappymail" {};
@ -0,0 +89,4 @@
deny all;
'';
locations."~ \\.php$".extraConfig = ''
include ${pkgs.nginx}/conf/fastcgi_params;
include ${config.services.nginx.package}/conf/fastcgi_params;
@ -0,0 +7,4 @@
maxUploadSize = "256M";
in {
options.services.snappymail = {
enable = mkEnableOption (lib.mdDoc "Snappymail");
mdDoc
no longer needed@ -0,0 +9,4 @@
options.services.snappymail = {
enable = mkEnableOption (lib.mdDoc "Snappymail");
package = mkOption {
@ -0,0 +24,4 @@
hostname = mkOption {
type = types.str;
/* default = null; */
uncomment?
@ -0,0 +49,4 @@
group = cfg.group;
home = cfg.dataDir;
useDefaultShell = true;
createHome = true;
Does this actually need a home and shell? If so, could you leave a comment explaining why?
Nope, didn't need :)
@ -0,0 +89,4 @@
deny all;
'';
locations."~ \\.php$".extraConfig = ''
include ${pkgs.nginx}/conf/fastcgi_params;
Already included:
46397778ef/nixos/modules/services/web-servers/nginx/default.nix (L139)
Dette er trollvirksomhet, funkittj >:(
aaa400d80f
to5fb1b805a8
Works in prod