Just import the disko NixOS module and then your disk-config.nix
, e.g.: dotfiles/nixos-config/hosts/rin/default.nix at e2432f2928ed2462852416dd54068f8c0c45dc6d · TLATER/dotfiles · GitHub
If you want to use a hardware-configuration.nix
, make sure to generate it without the filesystems.