From 7d7efab9ee6b45b62e8966bbb56a5cf90397b179 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 27 Jul 2022 11:18:23 +0200 Subject: Update to nixos 22.05 --- nix/configuration.nix | 8 ++++---- nix/deuxfleurs.nix | 20 +++++++++++--------- 2 files changed, 15 insertions(+), 13 deletions(-) (limited to 'nix') diff --git a/nix/configuration.nix b/nix/configuration.nix index 825cab2..53246e3 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -64,15 +64,15 @@ SystemMaxUse=1G wget htop smartmontools - links + links2 git rclone docker docker-compose - wireguard + wireguard-tools wesher - qemu - qemu_kvm + #qemu + #qemu_kvm ]; programs.vim.defaultEditor = true; diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix index 82bec18..5d08503 100644 --- a/nix/deuxfleurs.nix +++ b/nix/deuxfleurs.nix @@ -143,7 +143,9 @@ in node_meta = { "site" = cfg.site_name; }; - ui = true; + ui_config = { + enabled = true; + }; bind_addr = "${cfg.cluster_ip}"; addresses = { @@ -170,12 +172,12 @@ in }; services.nomad.enable = true; - services.nomad.package = pkgs.nomad_1_1; + services.nomad.package = pkgs.nomad_1_3; services.nomad.extraPackages = [ pkgs.glibc pkgs.zstd - pkgs.qemu - pkgs.qemu_kvm + #pkgs.qemu + #pkgs.qemu_kvm ]; services.nomad.settings = (if cfg.is_raft_server @@ -227,11 +229,11 @@ in ]; } ]; - qemu = [ - { - enabled = true; - } - ]; + #qemu = [ + # { + # enabled = true; + # } + #]; } ]; }; -- cgit v1.2.3