mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
test
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
overwriteprotocol = "https";
|
overwriteprotocol = "https";
|
||||||
};
|
};
|
||||||
extraAppsEnable = true;
|
extraAppsEnable = true;
|
||||||
appstoreEnable = false;
|
appstoreEnable = true;
|
||||||
extraApps = {
|
extraApps = {
|
||||||
inherit (pkgs.nextcloud31Packages.apps)
|
inherit (pkgs.nextcloud31Packages.apps)
|
||||||
deck
|
deck
|
||||||
@@ -103,6 +103,36 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# networking.hosts = {
|
||||||
|
# "127.0.0.1" = ["nextcloud.zeroq.ru" "collabora.zeroq.com"];
|
||||||
|
# "::1" = ["nextcloud.zeroq.ru" "collabora.zeroq.ru"];
|
||||||
|
# };
|
||||||
|
|
||||||
|
# systemd.services.nextcloud-config-collabora = let
|
||||||
|
# inherit (config.services.nextcloud) occ;
|
||||||
|
|
||||||
|
# wopi_url = "http://[::1]:${toString config.services.collabora-online.port}";
|
||||||
|
# public_wopi_url = "https://collabora.zeroq.ru";
|
||||||
|
# wopi_allowlist = lib.concatStringsSep "," [
|
||||||
|
# "127.0.0.1"
|
||||||
|
# "::1"
|
||||||
|
# ];
|
||||||
|
# in {
|
||||||
|
# wantedBy = ["multi-user.target"];
|
||||||
|
# after = ["nextcloud-setup.service" "coolwsd.service"];
|
||||||
|
# requires = ["coolwsd.service"];
|
||||||
|
# script = ''
|
||||||
|
# ${occ}/bin/nextcloud-occ config:app:set richdocuments wopi_url --value ${lib.escapeShellArg wopi_url}
|
||||||
|
# ${occ}/bin/nextcloud-occ config:app:set richdocuments public_wopi_url --value ${lib.escapeShellArg public_wopi_url}
|
||||||
|
# ${occ}/bin/nextcloud-occ config:app:set richdocuments wopi_allowlist --value ${lib.escapeShellArg wopi_allowlist}
|
||||||
|
# ${occ}/bin/nextcloud-occ richdocuments:setup
|
||||||
|
# '';
|
||||||
|
# serviceConfig = {
|
||||||
|
# Type = "oneshot";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# }
|
||||||
|
|
||||||
fileSystems."/mnt/nextcloud" = {
|
fileSystems."/mnt/nextcloud" = {
|
||||||
device = "${xlib.dirs.nextcloud-folder}";
|
device = "${xlib.dirs.nextcloud-folder}";
|
||||||
options = [
|
options = [
|
||||||
|
|||||||
@@ -33,11 +33,11 @@
|
|||||||
listen = [
|
listen = [
|
||||||
{
|
{
|
||||||
addr = "100.64.0.0";
|
addr = "100.64.0.0";
|
||||||
port = 10000;
|
port = 9980;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
addr = "192.168.1.20";
|
addr = "192.168.1.20";
|
||||||
port = 10000;
|
port = 9980;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user