From c676b848e9ad5c34e555301344634cce391e99e8 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 9 Aug 2024 15:28:32 -0500 Subject: [PATCH] fix iso generator --- lib/generators.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/generators.nix b/lib/generators.nix index 0a00ee0..e3f2ac9 100644 --- a/lib/generators.nix +++ b/lib/generators.nix @@ -17,8 +17,6 @@ let ; inherit (lib.filesystem) listFilesRecursive; - # pkgFrom = pkgFromSystem "x86_64-linux"; - # pkgsFrom = pkgsFromSystem "x86_64-linux"; flake = flakeFromSystem "x86_64-linux"; hostPath = host: ../. + "/hosts/${host}"; # all nix files not including pkgs.nix @@ -27,13 +25,16 @@ let mkIso = nixosSystem { system = "x86_64-linux"; modules = [ + inputs.lix-module.nixosModules.default self.nixosModules.nix self.nixosModules.essentials ( { pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") ]; - environment.systemPackages = (with pkgs; [ neovim ]) ++ [ (flake.pkg "self") ]; + environment.systemPackages = (with pkgs; [ neovim ]) ++ [ + self.packages.${pkgs.system}.default + ]; } ) ];