morph
morph copied to clipboard
NixOS deployment tool
It's annoying to share a namespace with deployment/network-specific options, see https://github.com/DBCDK/morph/issues/171
Given that `network` is used for specifying the description of deployment, as well as the `pkgs` to use, that somewhat obviously can't be used. However, it additionally (appears)[https://github.com/DBCDK/morph/blob/ad13802e59c90d3a6d6c33a0a7cc1ffafbe151af/data/eval-machines.nix#L36) like `defaults`,...
Continuation of #64 because I just ran into this again. Error message: ```sh Executing 'switch' on matched hosts: ** raspberry /nix/store/z6jmxkblhhvrl60ajg61lj489bvg2fmf-nixos-system-amethyst-21.05pre-git/bin/switch-to-configuration: line 3: use: command not found /nix/store/z6jmxkblhhvrl60ajg61lj489bvg2fmf-nixos-system-amethyst-21.05pre-git/bin/switch-to-configuration: line 4:...
See: https://github.com/DBCDK/morph/pull/158#issuecomment-882770720
I can't disable sudo on machines, that don't have any users that should elevate because morph relies on sudo, likely to switch-to-configuration? Can this be made optional? ``` Executing 'switch'...
For example, running `morph exec --on="*" ./network.nix nix-collect-garbage` on a network where all hosts have a large amount of garbage to collect, this could take a very long time until...
I started using Morph at 3856a9c2f733192dee1600b8655715d760ba1803 and stuck with that version for quite a while. For whatever reason, it happened to build with the version of Nixpkgs on my system...
If deploying on several hosts, morph crashes if it cannot connect to one of the hosts or if the switch action returns negative. It would be nice if there was...
There is one single case where a secret is not the right thing to do: - Node Join Tokens Why? They are usually short lived. For example they expire after...
```nix { "192.168.192.168" = { # hardcoded static ip from iso image deployment = { switchIpTo = morph-cli.switchIpTarget; # overlayed into the configuration from command line argument }; }; }...