NixOS Containers: Difference between revisions
imported>Onny Added example for native NixOS containers |
imported>Alyaeanyx m Add warning and improve formatting |
||
| Line 23: | Line 23: | ||
package = pkgs.nextcloud24; | package = pkgs.nextcloud24; | ||
hostName = "localhost"; | hostName = "localhost"; | ||
config.adminpassFile = | config.adminpassFile = pkgs.writeText "adminpass" "test123"; # DON'T DO THIS IN PRODUCTION - the password file will be world-readable in the Nix Store! | ||
}; | }; | ||