aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/configuration.nix2
-rw-r--r--nix/deuxfleurs.nix11
2 files changed, 13 insertions, 0 deletions
diff --git a/nix/configuration.nix b/nix/configuration.nix
index 984307c..825cab2 100644
--- a/nix/configuration.nix
+++ b/nix/configuration.nix
@@ -71,6 +71,8 @@ SystemMaxUse=1G
docker-compose
wireguard
wesher
+ qemu
+ qemu_kvm
];
programs.vim.defaultEditor = true;
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;
+ }
+ ];
}
];
};