648 B
648 B
Maxwell configuration
The NixOS configuration of Maxwell
Switching configuration
-
Mount remotely the secrets directory
$ ssh -A maxwell sshfs wigfrid.ydns.eu:$PWD $PWD -o allow_other
-
Run nixos-rebuild
$ nixos-rebuild test -I nixos-config=configuration.nix --target-host maxwell --use-remote-sudo
-
Unmount the secrets directory
ssh -A maxwell fusemount -u $PWD
Testing changes
-
Build a VM
$ nixos-rebuild build-vm -I nixos-config=testing.nix
-
Change the open files limit
$ ulimit -n 90000
-
Run the VM without internet (to avoid a mess)
$ unshare -nc result/bin/run-maxwell-vm