NixOS Containers: Difference between revisions

imported>Onny
Add workarounds for nameserver and IPv6 connectivity
imported>Ptman
m fix code example
Line 29: Line 29:
       package = pkgs.nextcloud24;
       package = pkgs.nextcloud24;
       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!
     };
     };