Maxwell configuration
Go to file
2023-03-05 23:16:29 +01:00
assets initial commit 2021-02-18 01:46:33 +01:00
custom jobs: notify on failure 2022-10-21 17:31:18 +02:00
secrets secrets: rekey 2023-02-26 19:58:28 +01:00
.gitattributes secrets/transcrypt: update to 2.2.0 2023-02-26 19:55:57 +01:00
.gitignore initial commit 2021-02-18 01:46:33 +01:00
configuration.nix update to NixOS 22.11 2023-02-25 02:26:45 +01:00
email.nix email: set up for DANE 2023-03-05 21:05:44 +01:00
hardware.nix update to NixOS 22.11 2023-02-25 02:26:45 +01:00
jobs.nix jobs: notify on failure 2022-10-21 17:31:18 +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 email: fix DNSCrypt ephemeral keys rotation 2023-03-05 23:16:29 +01:00
packages.nix update to NixOS 22.11 2023-02-25 02:26:45 +01: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