diff --git a/content/posts/deploying-this-blog.md b/content/posts/deploying-this-blog.md index 9e4b7ed..ba2efd8 100644 --- a/content/posts/deploying-this-blog.md +++ b/content/posts/deploying-this-blog.md @@ -129,10 +129,12 @@ When deploy-rs runs later, it replaces that symlink with the new build. Next `ni The blog itself is a flake input in `nix-config`: ```nix -blog.url = "git+https://github.com/ankarhem/site?submodules=1"; +blog.url = "git+https://github.com/ankarhem/site"; ``` -The `?submodules=1` is needed because the theme is a git submodule and nix-config needs to actually build the blog package when evaluating the module. +{% alert(type="info", title="No ?submodules=1 needed") %} +The blog's flake already declares `inputs.self.submodules = true`. Since Nix 2.27, this is respected when the flake is consumed as an input. No need to pass `?submodules=1` on the URL. We can't use github:ankarhem/site syntax though, as that doesn't support submodules. +{% end %} ## The GitHub Actions workflow