mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
testing making my own iso installer
This commit is contained in:
parent
c9a3886cd5
commit
db6bb1b7a6
2 changed files with 43 additions and 1 deletions
16
flake.nix
16
flake.nix
|
|
@ -7,6 +7,11 @@
|
|||
#utilites --maybe flake-parts soon?
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
|
||||
nixos-generators = {
|
||||
url = "github:nix-community/nixos-generators";
|
||||
inputs.nixpkgs.follows = "unstable";
|
||||
};
|
||||
|
||||
#master branch of nix
|
||||
nix.url = "github:NixOS/nix";
|
||||
|
||||
|
|
@ -33,9 +38,9 @@
|
|||
outputs = {
|
||||
self,
|
||||
unstable,
|
||||
stable,
|
||||
flake-utils,
|
||||
nvim-flake,
|
||||
nixos-generators,
|
||||
...
|
||||
} @ inputs:
|
||||
{
|
||||
|
|
@ -111,6 +116,15 @@
|
|||
};
|
||||
default = nix;
|
||||
};
|
||||
packages = {
|
||||
nixos-iso = nixos-generators.nixosGenerate {
|
||||
inherit system;
|
||||
format = "install-iso";
|
||||
modules = [
|
||||
(import ./iso inputs)
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue