nix-community / disko

Declarative disk partitioning and formatting using nix [maintainers=@Lassulus @Enzime]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to to pass flake `self` using `specialArgs`?

bam80 opened this issue · comments

disko/docs/disko-install.md

Lines 187 to 188 in b8785a1

# `self` here is referring to the flake `self`, you may need to pass it using `specialArgs` or define your NixOS installer configuration
# in the flake.nix itself to get direct access to the `self` flake variable.

Could you clarify how exactly I could pass the flake self using specialArgs?

Thank you.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/disko-install-how-to-to-pass-flake-self-using-specialargs/43920/1

I would appreciate if you could update the documentation, now that the question is answered in discourse.