Maxwell configuration
Go to file
2022-08-11 02:48:11 +02:00
assets initial commit 2021-02-18 01:46:33 +01:00
custom custom/modules/secretstore: sync with wigfrid version 2022-08-10 16:58:10 +02:00
secrets matrix: add email support 2022-08-11 02:48:10 +02:00
.gitattributes initial commit 2021-02-18 01:46:33 +01:00
.gitignore initial commit 2021-02-18 01:46:33 +01:00
configuration.nix fuse: allow allow_others for root 2022-08-10 17:15:16 +02:00
email.nix email: disable non-TLS access 2022-08-11 02:48:11 +02:00
hardware.nix initial commit 2021-02-18 01:46:33 +01:00
jobs.nix secrets: reorganise environment files 2021-09-29 18:50:15 +02:00
magnetico.nix magnetico: fix typo 2021-09-29 10:06:51 +02:00
matrix.nix matrix: add email support 2022-08-11 02:48:10 +02:00
nameserver.nix fix namecoin module bug 2021-12-21 01:45:36 +01:00
packages.nix update to NixOS 22.05 2022-08-10 05:04:54 +02:00
README.md add a README 2022-08-11 02:48:10 +02:00
testing.nix update to NixOS 21.11 2021-12-21 01:45:36 +01:00
variables.nix working voip 2021-03-15 00:10:19 +01:00

Maxwell configuration

The NixOS configuration of Maxwell

Switching configuration

  1. Mount remotely the secrets directory

    $ ssh -A maxwell sshfs wigfrid.ydns.eu:$PWD $PWD -o allow_other

  2. Run nixos-rebuild

    $ nixos-rebuild test -I nixos-config=configuration.nix --target-host maxwell --use-remote-sudo

  3. Unmount the secrets directory

    ssh -A maxwell fusemount -u $PWD

Testing changes

  1. Build a VM

    $ nixos-rebuild build-vm -I nixos-config=testing.nix

  2. Change the open files limit

    $ ulimit -n 90000

  3. Run the VM without internet (to avoid a mess)

    $ unshare -nc result/bin/run-maxwell-vm