forked from Fediversity/Fediversity
Expose mkInstaller
This commit is contained in:
parent
656b31e729
commit
108949d3e1
10
flake.nix
10
flake.nix
|
@ -44,7 +44,7 @@
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
mastodon = nixpkgs.lib.nixosSystem {
|
mastodon = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
modules = with self.nixosModules; [
|
modules = with self.nixosModules; [
|
||||||
disko.nixosModules.default
|
disko.nixosModules.default
|
||||||
disk-layout
|
disk-layout
|
||||||
bleedingFediverse
|
bleedingFediverse
|
||||||
|
@ -97,11 +97,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
installers =
|
## Fully-feature ISO installer
|
||||||
let
|
mkInstaller = import ./installer.nix;
|
||||||
installer = (import ./installer.nix) nixpkgs;
|
installers = lib.mapAttrs (_: config: self.mkInstaller nixpkgs config) self.nixosConfigurations;
|
||||||
in
|
|
||||||
lib.mapAttrs (_: config: installer config) self.nixosConfigurations;
|
|
||||||
|
|
||||||
deploy =
|
deploy =
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue