From 74efa197b51e5e8c55ab414e28fb903d1cb1ad9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 16 Jan 2024 13:29:16 +0200 Subject: [PATCH] vm: make it x86_64-linux only --- flake.nix | 7 ++++--- pkgs/e11sync-backend.nix | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 0d95456..aa18a46 100644 --- a/flake.nix +++ b/flake.nix @@ -141,14 +141,15 @@ }; formatter = pkgs.alejandra; - + }) + // { nixosConfigurations.vm = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ "${nixpkgs}/nixos/modules/virtualisation/qemu-vm.nix" ./vm.nix - e11sync-module + self.nixosModules.x86_64-linux.e11sync ]; }; - }); + }; } diff --git a/pkgs/e11sync-backend.nix b/pkgs/e11sync-backend.nix index e4fdd34..f2dd1c4 100644 --- a/pkgs/e11sync-backend.nix +++ b/pkgs/e11sync-backend.nix @@ -13,7 +13,7 @@ geoip-mmdb, }: stdenv.mkDerivation { - name = "e11sync"; + name = "e11sync-backend"; propagatedBuildInputs = [ (python3.withPackages (ps: [