-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change to a generic installer that is lightweight, downloads fl…
…ake from the internet so it doesn't require reflashing
- Loading branch information
Showing
4 changed files
with
69 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
{ self, lib, ... }@pkgs: | ||
{ lib, ... }@pkgs: | ||
|
||
with lib; | ||
|
||
let | ||
mapAttrs (_: program: { type = "app"; inherit program; }) { | ||
flash-iso = import ./flash-installer.nix pkgs; | ||
} | ||
|
||
inherit (self.outputs) nixosConfigurations; | ||
|
||
in | ||
mapAttrs (_: program: { type = "app"; inherit program; }) ( | ||
{ | ||
# Put apps here | ||
} | ||
|
||
// mapAttrs' (name: value: nameValuePair "flash-iso-${name}" (import ./flash-installer.nix value pkgs)) nixosConfigurations | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters