niximg: use modulesPath

This commit is contained in:
Timothy DeHerrera 2020-01-01 19:45:49 -07:00
parent 1493f43ba7
commit 11000f56e2
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
2 changed files with 2 additions and 3 deletions

View File

@ -31,15 +31,12 @@ let
local = import "${toString ./.}/${self}.nix";
iso = nixpkgs.lib.optionalAttrs (self == "niximg")
(import "${nixpkgs}/nixos/modules/installer/cd-dvd/iso-image.nix");
in
attrValues flake.nixosModules ++ [
core
global
local
home
iso
];
};

View File

@ -1,6 +1,8 @@
{ modulesPath, ... }:
{
imports = [
./NixOS.nix
"${modulesPath}/installer/cd-dvd/iso-image.nix"
];
isoImage.makeEfiBootable = true;