Nextcloud: Difference between revisions
imported>Nix m add Software/Applications subcategory |
imported>Onny Minimal installation example |
||
| Line 1: | Line 1: | ||
{{Expansion}} | {{Expansion}} | ||
== Installation == | |||
A minimal example to get a Nextcloud running on localhost should look like this | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
services.nextcloud = { | |||
enable = true; | |||
package = pkgs.nextcloud24; | |||
hostName = "localhost"; | |||
config.adminpassFile = "${pkgs.writeText "adminpass" "test123"}"; | |||
}; | |||
</nowiki>}} | |||
After that you will be able to login into your Nextcloud instance at http://localhost with user <code>admin</code> and password <code>test123</code> as configured above. | |||
== Upgrade == | == Upgrade == | ||
| Line 25: | Line 40: | ||
[[Category:Server]] | [[Category:Server]] | ||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Web Applications]] | |||