niximg: use modulesPath
This commit is contained in:
parent
1493f43ba7
commit
11000f56e2
@ -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
|
||||
];
|
||||
|
||||
};
|
||||
|
@ -1,6 +1,8 @@
|
||||
{ modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
./NixOS.nix
|
||||
"${modulesPath}/installer/cd-dvd/iso-image.nix"
|
||||
];
|
||||
|
||||
isoImage.makeEfiBootable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user