formatting
This commit is contained in:
parent
e3e370c893
commit
43860609e1
22 changed files with 230 additions and 154 deletions
19
flake.nix
19
flake.nix
|
|
@ -3,25 +3,28 @@
|
|||
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
|
||||
outputs =
|
||||
{ self, nixpkgs }@inputs:
|
||||
let
|
||||
lib = nixpkgs.lib;
|
||||
mod = import ./mod { inherit lib; };
|
||||
specialArgs = { inherit inputs mod; };
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
"solo" = nixpkgs.lib.nixosSystem
|
||||
{
|
||||
"solo" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
inherit specialArgs;
|
||||
modules = [ ./host/solo ];
|
||||
};
|
||||
|
||||
"c2" = nixpkgs.lib.nixosSystem
|
||||
{
|
||||
"c2" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
inherit specialArgs;
|
||||
modules = [ ./host/c2 ];
|
||||
};
|
||||
};
|
||||
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue