-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
29 lines (26 loc) · 767 Bytes
/
flake.nix
File metadata and controls
29 lines (26 loc) · 767 Bytes
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
{
description = "diploma thesis explainer website";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
./devshell.nix
./build.nix
./nixos-module.nix
./nixos-vm.nix
];
systems = [ "aarch64-linux" "aarch64-darwin" ];
perSystem = { pkgs, system, self', ... }: {
formatter = pkgs.nixpkgs-fmt;
packages.default = self'.packages.vm;
};
};
}