From fbb51cc6d36cc7bee3b57ede97f3abbff53b662b Mon Sep 17 00:00:00 2001 From: David Arnold Date: Thu, 14 Sep 2023 17:30:38 +0200 Subject: [PATCH] docs: add nixos module discovery to the usage string --- disko | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/disko b/disko index 388489a..ae63912 100755 --- a/disko +++ b/disko @@ -15,7 +15,8 @@ showUsage() { Usage: $0 [options] disk-config.nix or $0 [options] --flake github:somebody/somewhere#disk-config -With flakes, disk-config is discovered under the .diskoConfigurations top level attribute. +With flakes, disk-config is discovered first under the .diskoConfigurations top level attribute +or else from the disko module of a NixOS configuration of that name under .nixosConfigurations. Options: