Maxwell configuration
Go to file
2024-10-22 23:54:45 +02:00
assets initial commit 2021-02-18 01:46:33 +01:00
custom migrate matrix to new domain 2024-10-22 23:54:45 +02:00
secrets migrate matrix to new domain 2024-10-22 23:54:45 +02: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 migrate matrix to new domain 2024-10-22 23:54:45 +02:00
email.nix replace DNSCrypt for DNS in IPsec transport 2024-07-26 01:22:18 +02:00
fish.nix README: use rsshfs 2023-08-22 15:35:44 +02:00
hardware.nix configure apcupsd server 2024-08-02 19:26:13 +02:00
jobs.nix backup: fix repository not being unmounted 2024-08-27 11:42:11 +02:00
magnetico.nix magnetico: fix typo 2021-09-29 10:06:51 +02:00
matrix.nix migrate matrix to new domain 2024-10-22 23:54:45 +02:00
nameserver.nix migrate everyhing possible to eurofusion.eu 2024-10-12 20:09:21 +02:00
neovim.nix migrate everyhing possible to eurofusion.eu 2024-10-12 20:09:21 +02:00
packages.nix migrate matrix to new domain 2024-10-22 23:54:45 +02:00
README.md README: use rsshfs 2023-08-22 15:35:44 +02:00
testing.nix update to NixOS 21.11 2021-12-21 01:45:36 +01:00
variables.nix migrate everyhing possible to eurofusion.eu 2024-10-12 20:09:21 +02:00

Maxwell configuration

The NixOS configuration of Maxwell

Switching configuration

  1. Mount remotely the secrets directory

    $ rsshfs secrets maxwell:$PWD/secrets -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

    kill %%

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