Skip to content
Snippets Groups Projects
Select Git revision
  • 03e2106ff0610eecd74e0d863127ac1f77656ee3
  • main default protected
2 results

ldap-linuxlab

  • Clone with SSH
  • Clone with HTTPS
  • Dustin Frisch's avatar
    Dustin Michael Frisch authored
    03e2106f
    History

    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"