initial commit
This commit is contained in:
commit
c4dc2e0f36
25 changed files with 558 additions and 0 deletions
27
flake.nix
Normal file
27
flake.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs } @ inputs:
|
||||
let lib = nixpkgs.lib; in
|
||||
let mod = import ./mod { inherit lib; }; in
|
||||
let specialArgs = { inherit inputs mod; }; in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
"solo" = nixpkgs.lib.nixosSystem
|
||||
{
|
||||
system = "x86_64-linux";
|
||||
inherit specialArgs;
|
||||
modules = [ ./host/solo ];
|
||||
};
|
||||
|
||||
"c2" = nixpkgs.lib.nixosSystem
|
||||
{
|
||||
system = "x86_64-linux";
|
||||
inherit specialArgs;
|
||||
modules = [ ./host/c2 ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue