feat: add iso installer target (to be completed..)
This commit is contained in:
@@ -64,6 +64,12 @@
|
|||||||
./hosts/work/hardware-configuration.nix
|
./hosts/work/hardware-configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
iso-installer = nixpkgs.lib.nixosSystem {
|
||||||
|
specialArgs = { inherit inputs system; };
|
||||||
|
modules = [
|
||||||
|
./hosts/iso/configuration.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
"xmorel@work-laptop" = inputs.home-manager.lib.homeManagerConfiguration {
|
"xmorel@work-laptop" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
|
|||||||
7
hosts/iso/configuration.nix
Normal file
7
hosts/iso/configuration.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, modulesPath, system, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||||
|
];
|
||||||
|
nixpkgs.hostPlatform = system;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user