3 export NIX_PATH
=nixpkgs
=$
(dirname $
(readlink
-f $0))/..
/..
/..
/..
4 export NIXOS_CONFIG
=$
(dirname $
(readlink
-f $0))/..
/..
/..
/modules
/virtualisation
/azure-image.nix
5 export TIMESTAMP
=$
(date +%Y
%m
%d
%H
%M
)
7 nix-build
'<nixpkgs/nixos>' \
8 -A config.system.build.azureImage
--argstr system x86_64-linux
-o azure
-j 10