forked from socallinuxexpo/scale-network
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
35 lines (33 loc) · 1.02 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
nixConfig.bash-prompt = "\\[\\033[01;32m\\][nix-flakes \\W] \$\\[\\033[00m\\] ";
inputs = {
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
microvm = {
url = "github:sarcasticadmin/microvm.nix/rh/1707108673virtio";
inputs.nixpkgs.follows = "nixpkgs";
inputs.spectrum.follows = "";
}; # Currently using this fork since the upstream seems to be causing an issue
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
};
outputs =
inputs:
(inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"x86_64-linux"
"aarch64-linux"
];
imports = [ ./nix/flake-module.nix ];
})
// {
formatter = import ./nix/formatter inputs;
formatterModule = import ./nix/formatterModule inputs;
};
}