mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
16 lines
453 B
Nix
16 lines
453 B
Nix
{ config, lib, pkgs, pkgs-unstable, user, ... }:
|
|
|
|
let
|
|
cfg = config.modules.services.seafile-server;
|
|
in {
|
|
options.modules.services.seafile-server.enable = lib.mkEnableOption "seafile-server";
|
|
config = lib.mkIf cfg.enable {
|
|
services.seafile = {
|
|
enable = true;
|
|
adminEmail = "starrtyler88@gmail.com";
|
|
initialAdminPassword = "dude";
|
|
ccnetSettings.General.SERVICE_URL = "https://wiki.tstarr.us";
|
|
};
|
|
};
|
|
}
|