-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
39 lines (32 loc) · 986 Bytes
/
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
36
37
38
39
{
description = "Steam games and game servers";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-parts.url = "flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
# TODO: there are some minor incompatibilities between our current
# implementation and steam-fetcher.
#steam-fetcher.url = "github:nix-community/steam-fetcher";
#steam-fetcher.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"aarch64-linux"
"x86_64-linux"
];
imports = [
inputs.treefmt-nix.flakeModule
./nixpkgs.nix
./top-level.nix
];
perSystem.treefmt = {
projectRootFile = "flake.nix";
programs.deadnix.enable = true;
programs.nixfmt-rfc-style.enable = true;
};
};
}