Build disk image
nix build .#nixosConfigurations.ldap.config.system.build.diskoImages
Updates
Run the following command and deploy afterwards
nix flake update
Deploy
nix build .#nixosConfigurations.ldap.config.system.build.toplevel
nix copy --to ssh://root@<ip-of-target> .#nixosConfigurations.ldap.config.system.build.toplevel
ssh root@<ip-of-target> "$(nix path-info .#nixosConfigurations.ldap.config.system.build.toplevel)/bin/switch-to-configuration switch"