mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: basic installer image generator
This commit is contained in:
parent
d11b9486eb
commit
b49def46ac
5 changed files with 130 additions and 3 deletions
|
|
@ -1,9 +1,9 @@
|
|||
{ self, ... }:
|
||||
{ self, inputs, ... }:
|
||||
{
|
||||
flake.lib.mkNerdFont = ./mkNerdFont.nix;
|
||||
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, system, ... }:
|
||||
let
|
||||
inherit (pkgs) alt-ergo-pin;
|
||||
mkNerdFont = pkgs.callPackage self.lib.mkNerdFont { };
|
||||
|
|
@ -37,7 +37,21 @@
|
|||
maeel = pkgs.callPackage ./maeel.nix { };
|
||||
tokei = pkgs.callPackage ./tokei { }; # alpha tokei with typst, skel, hledger
|
||||
|
||||
posy-cursor = pkgs.callPackage ./posy-cursor.nix { };
|
||||
carbon-installer = inputs.nixos-generators.nixosGenerate {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit pkgs;
|
||||
hostname = "carbon";
|
||||
};
|
||||
format = "install-iso";
|
||||
modules = [
|
||||
self.nixosModules.layouts
|
||||
{
|
||||
environment.etc.flake-source.source = self;
|
||||
environment.systemPackages = [ pkgs.disko ];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue