add iso configuration

This commit is contained in:
Sam 2025-01-26 21:18:35 +00:00
parent dd8729b77d
commit b145fadcb3
2 changed files with 20 additions and 0 deletions

View File

@ -141,6 +141,17 @@
modules = [
./hosts/cloudnix
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = specialArgs;
}
];
};
iso = nixpkgs.lib.nixosSystem {
inherit specialArgs;
modules = [
./hosts/iso
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = specialArgs;

9
hosts/iso/default.nix Normal file
View File

@ -0,0 +1,9 @@
{modulesPath, pkgs, lib, ...}: let
in {
imports = [(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")];
environment.systemPackages = [
pkgs.openssl
pkgs.nvim
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}