Nix : Add --refresh for live build.

This commit is contained in:
Dmitry Voronin 2024-03-10 08:05:08 +03:00
parent a102226288
commit fe58424edb

View file

@ -59,7 +59,7 @@ alias tmpshell="nix_tmpshell"
# Build live image.
function nixos_live() {
nix build "${_nix_system_config}#nixosConfigurations.live.config.system.build.isoImage"
nix build "${_nix_system_config}#nixosConfigurations.live.config.system.build.isoImage" --refresh
}
# List nixos generations.