mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 23:11:34 +01:00
Create custom iso
This commit is contained in:
parent
b2351be830
commit
a4fca57ff7
6 changed files with 82 additions and 1 deletions
28
hosts/installer/default.nix
Normal file
28
hosts/installer/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
modulesPath,
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.nixos-generators.nixosModules.all-formats
|
||||
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||
../common.nix
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
environment.systemPackages = [ inputs.disko.packages.${pkgs.system}.default ];
|
||||
|
||||
users.users.root.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGBUORYC3AvTPQmtUEApTa9DvHoJy4mjuQy8abSjCcDd seb@north"
|
||||
];
|
||||
|
||||
installer.cloneConfig = lib.mkForce false;
|
||||
isoImage = {
|
||||
edition = lib.mkForce "seb-minimal";
|
||||
isoName = lib.mkForce "NixOS";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue