75daf6aa89
| datasource | package | from | to | | ---------- | -------------------------------- | ----------- | ----------- | | git-refs | https://github.com/NixOS/nixpkgs | nixos-22.11 | nixos-23.11 | Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
31 lines
895 B
Nix
31 lines
895 B
Nix
{
|
|
description = "A flake to build a basic NixOS iso";
|
|
inputs.nixos.url = "github:nixos/nixpkgs/nixos-23.11";
|
|
outputs =
|
|
{ self
|
|
, nixos
|
|
,
|
|
}: {
|
|
nixosConfigurations =
|
|
let
|
|
exampleBase = {
|
|
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
|
systemd.services.sshd.wantedBy = nixos.lib.mkForce [ "multi-user.target" ];
|
|
users.users.root.openssh.authorizedKeys.keys = [ "<my ssh key>" ];
|
|
};
|
|
in
|
|
{
|
|
x86 = nixos.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
"${nixos}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
|
exampleBase
|
|
];
|
|
};
|
|
example = nixos.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [ exampleBase ];
|
|
};
|
|
};
|
|
};
|
|
}
|