NixOS Containers: Difference between revisions

imported>Onny
Add note to bug url
imported>Onny
Update example
Line 27: Line 27:
     services.nextcloud = {
     services.nextcloud = {
       enable = true;
       enable = true;
       package = pkgs.nextcloud27;
       package = pkgs.nextcloud28;
       hostName = "localhost";
       hostName = "localhost";
       config.adminpassFile = "${pkgs.writeText "adminpass" "test123"}"; # DON'T DO THIS IN PRODUCTION - the password file will be world-readable in the Nix Store!
       config.adminpassFile = "${pkgs.writeText "adminpass" "test123"}"; # DON'T DO THIS IN PRODUCTION - the password file will be world-readable in the Nix Store!
     };
     };


     system.stateVersion = "23.05";
     system.stateVersion = "23.11";


     networking = {
     networking = {