Загрузить файлы в «installer»
This commit is contained in:
parent
06f5beccfc
commit
5bbe64d519
3 changed files with 344 additions and 0 deletions
22
installer/flake.nix
Normal file
22
installer/flake.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
description = "MIREA NixOS USB Installer";
|
||||
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
in
|
||||
{
|
||||
nixosConfigurations.installer = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
||||
./installer-configuration.nix
|
||||
];
|
||||
};
|
||||
|
||||
packages.${system}.default =
|
||||
self.nixosConfigurations.installer.config.system.build.isoImage;
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue