fix iso generator

This commit is contained in:
Daylin Morgan 2024-08-09 15:28:32 -05:00
parent afac7e637b
commit c676b848e9
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -17,8 +17,6 @@ let
; ;
inherit (lib.filesystem) listFilesRecursive; inherit (lib.filesystem) listFilesRecursive;
# pkgFrom = pkgFromSystem "x86_64-linux";
# pkgsFrom = pkgsFromSystem "x86_64-linux";
flake = flakeFromSystem "x86_64-linux"; flake = flakeFromSystem "x86_64-linux";
hostPath = host: ../. + "/hosts/${host}"; hostPath = host: ../. + "/hosts/${host}";
# all nix files not including pkgs.nix # all nix files not including pkgs.nix
@ -27,13 +25,16 @@ let
mkIso = nixosSystem { mkIso = nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
inputs.lix-module.nixosModules.default
self.nixosModules.nix self.nixosModules.nix
self.nixosModules.essentials self.nixosModules.essentials
( (
{ pkgs, modulesPath, ... }: { pkgs, modulesPath, ... }:
{ {
imports = [ (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") ]; 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
];
} }
) )
]; ];