Skip to content
Modules, packages and profiles that drive Holo, Holochain, and HoloPortOS
Nix Python Rust HTML
Branch: develop
Clone or download
yegortimoshenko Merge pull request #382 from Holo-Host/2020-02-18-revert-to-one-sim2h
Revert all DNAs to the ones using generic sim2h_url
Latest commit f69e703 Feb 19, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github .github/settings.yml: limit who's allowed to merge to codeowners Jan 6, 2020
modules modules/hp-admin-crypto-server: set RUST_LOG to info Feb 13, 2020
nixpkgs nixpkgs/src: import ZeroTier 1.4.4 -> 1.4.6 bump Dec 30, 2019
overlays/holo-nixpkgs Revert "dnaPackages.servicelogger: bump" Feb 19, 2020
profiles Merge pull request #381 from Holo-Host/2020-02-18-remove-communities-dna Feb 19, 2020
tests dnaPackages.holo-communities-dna: remove Feb 19, 2020
.gitignore Revert "201909/demo forward ported onto develop" Oct 9, 2019
.update-on-nixos-rebuild Add .update-on-nixos-rebuild May 30, 2019
CONTRIBUTING.md shell: add holo-nixpkgs-fmt script Dec 29, 2019
LICENSE-MIT.txt COPYING -> LICENSE-MIT.txt Dec 13, 2019
README.md
default.nix treewide: import nixpkgs-fmt Nov 26, 2019
jobsets.nix jobsets: re-add staging Jan 23, 2020
release.nix treewide: import nixpkgs-fmt Nov 26, 2019
shell.nix shell: make hpos-shell CWD-independent Jan 1, 2020

README.md

Holo Nixpkgs

Modules, packages and profiles that drive Holo, Holochain, and HoloPortOS.

Binary cache

On NixOS, add the following to /etc/nixos/configuration.nix and rebuild:

{
  nix.binaryCaches = [
    "https://cache.holo.host/"
  ];

  nix.binaryCachePublicKeys = [
    "cache.holo.host-1:lNXIXtJgS9Iuw4Cu6X0HINLu9sTfcjEntnrgwMQIMcE="
  ];
}

Otherwise, add https://cache.holo.host/ to substituters and cache.holo.host-1:lNXIXtJgS9Iuw4Cu6X0HINLu9sTfcjEntnrgwMQIMcE= to trusted-public-keys in Nix config file:

substituters = https://cache.holo.host/ https://cache.nixos.org/
trusted-public-keys = cache.holo.host-1:lNXIXtJgS9Iuw4Cu6X0HINLu9sTfcjEntnrgwMQIMcE= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=

For single-user installs (nix-shell -p nix-info --run nix-info prints multi-user: no), Nix config file is in ~/.config/nix/nix.conf.

Otherwise, for multi-user installs, Nix config file is in /etc/nix/nix.conf and changing it requires root access.

HoloPortOS

HoloportOS is an operating system based on NixOS that supports running Holochain applications.

Changing HPOS to Track develop vs. master

On your HoloPort or HPOS VM, the following command will alter your subscribed nix channel.

To track develop:

  • nix-channel --add https://hydra.holo.host/channel/custom/holo-nixpkgs/develop/holo-nixpkgs
  • nix-channel --update (change develop above to appropriate repo branch... e.g. master, rc-version)

Your HoloPort or HPOS VM should now upgrade to your desired channel at the next auto-upgrade interval.

To begin the upgrade immediately, use the following command:

  • systemctl start holo-nixpkgs-auto-upgrade.service

QEMU

If you have Nix installed, checkout the repo, enter nix-shell and then run hpos-shell. That will launch a HoloPortOS VM against current state of your local checkout, which is useful for iterative development.

VirtualBox

Download the latest HoloPortOS VirtualBox OVA: https://hydra.holo.host/job/holo-nixpkgs/master/holoportos.targets.virtualbox.x86_64-linux/latest/download-by-type/file/ova

Refer to VirtualBox manual, chapter 1, section 1.15.2.

You can’t perform that action at this time.