Nextcloud: Difference between revisions

imported>Jdogzz
Added missing line of boot execution time.
imported>Fliiiix
It took me ~1h to figure out that i can not put this into the secrets file
Line 6: Line 6:


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
environment.etc."nextcloud-admin-pass".text = "test123";
services.nextcloud = {
services.nextcloud = {
   enable = true;
   enable = true;
   package = pkgs.nextcloud27;
   package = pkgs.nextcloud27;
   hostName = "localhost";
   hostName = "localhost";
   config.adminpassFile = "${pkgs.writeText "adminpass" "test123"}";
   config.adminpassFile = "/etc/nextcloud-admin-pass";
};
};
</nowiki>}}
</nowiki>}}