You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seem to be discrepancies between the flake.nix shown in the guide under Configuring the Instance (under Deploying with deploy-to-nixos) and what is generated by default with ihp-new.
For example, the default flake.nix contains this in the flake-parts.lib.mkFlake block:
services.nginx = {
virtualHosts."CHANGE-ME.com" = {
# Uncomment to have http auth with username `foo` and password `bar`.
# basicAuth = { foo = "bar"; };
};
};
but in the guide, you are instructed: "Make sure you put this into the flake-parts.lib.mkFlake block. The final flake.nix should look like this:" with a config that lacks the above nginx config. Maybe it was excluded for brevity but it is slightly confusing when first modifying flake.nix for NixOS deployment since the guide seems to imply that that whole chunk of flake.nix can be replaced with what is shown in the guide.
The text was updated successfully, but these errors were encountered:
There seem to be discrepancies between the
flake.nix
shown in the guide under Configuring the Instance (under Deploying with deploy-to-nixos) and what is generated by default withihp-new
.For example, the default
flake.nix
contains this in theflake-parts.lib.mkFlake
block:but in the guide, you are instructed: "Make sure you put this into the flake-parts.lib.mkFlake block. The final flake.nix should look like this:" with a config that lacks the above nginx config. Maybe it was excluded for brevity but it is slightly confusing when first modifying
flake.nix
for NixOS deployment since the guide seems to imply that that whole chunk offlake.nix
can be replaced with what is shown in the guide.The text was updated successfully, but these errors were encountered: