diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-30 14:57:05 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-30 14:57:05 +0200 |
commit | d47d4e93ab8682710e80eec8c7c9d6a7d2f14202 (patch) | |
tree | a0039fb674a7150c0338707606a20c9d62ced1e5 /nix/deuxfleurs.nix | |
parent | 2d9adf82d04261f420af4cc5482e442297741a5d (diff) | |
download | nixcfg-d47d4e93ab8682710e80eec8c7c9d6a7d2f14202.tar.gz nixcfg-d47d4e93ab8682710e80eec8c7c9d6a7d2f14202.zip |
Work on drone runner as VM
Diffstat (limited to 'nix/deuxfleurs.nix')
-rw-r--r-- | nix/deuxfleurs.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix index 055ac55..d20ea5d 100644 --- a/nix/deuxfleurs.nix +++ b/nix/deuxfleurs.nix @@ -151,6 +151,12 @@ in services.nomad.enable = true; services.nomad.package = pkgs.nomad_1_1; + services.nomad.extraPackages = [ + pkgs.glibc + pkgs.zstd + pkgs.qemu + pkgs.qemu_kvm + ]; services.nomad.settings = (if cfg.is_raft_server then { server = { @@ -201,6 +207,11 @@ in ]; } ]; + qemu = [ + { + enabled = true; + } + ]; } ]; }; |