add nextcloud
This commit is contained in:
parent
77032be8e3
commit
5e7a3237b1
2 changed files with 19 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
./restic-server.nix
|
||||
./i2p.nix
|
||||
./print-server.nix
|
||||
./nextcloud.nix
|
||||
];
|
||||
networking = {
|
||||
hostName = "brix";
|
||||
|
|
18
nixos/boxes/brix/nextcloud.nix
Normal file
18
nixos/boxes/brix/nextcloud.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
home = "/data/nextcloud";
|
||||
https = false;
|
||||
hostName = "purrfect.estate";
|
||||
package = pkgs.nextcloud22;
|
||||
config = {
|
||||
adminuser = "cyryl";
|
||||
adminpassFile = "/etc/secrets/nextcloud";
|
||||
dbtype = "sqlite";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in a new issue