From 4475a47987cfbc3be86e432baf0bc52af231dfe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 15 Jan 2024 23:41:15 +0200 Subject: [PATCH] fix vm vm works, the app can't find django --- flake.nix | 2 +- modules/e11sync/default.nix | 3 +-- vm.nix | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index e3d39d6..ea4d400 100644 --- a/flake.nix +++ b/flake.nix @@ -42,7 +42,7 @@ inherit geoip2-tarball; }; - e11sync-module = import ./modules/e11sync; + e11sync-module = import ./modules/e11sync e11sync-backend; e11sync-static = pkgs.callPackage ./pkgs/e11sync-static.nix {}; diff --git a/modules/e11sync/default.nix b/modules/e11sync/default.nix index 7c991dd..89e9e86 100644 --- a/modules/e11sync/default.nix +++ b/modules/e11sync/default.nix @@ -1,7 +1,6 @@ -{ +e11sync-backend: { config, lib, - e11sync-backend, ... }: { options.e11sync = with lib.types; { diff --git a/vm.nix b/vm.nix index 6ff5788..0010b73 100644 --- a/vm.nix +++ b/vm.nix @@ -3,7 +3,7 @@ modulesPath, ... }: { - #e11sync.enable = true; + e11sync.enable = true; imports = [(modulesPath + "/virtualisation/qemu-vm.nix")]; virtualisation.graphics = false;