-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathflake.nix
More file actions
39 lines (34 loc) · 1.02 KB
/
Copy pathflake.nix
File metadata and controls
39 lines (34 loc) · 1.02 KB
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 = "A sliding, tiling window manager for MacOS";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
import-tree.url = "github:vic/import-tree";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
crane.url = "github:ipetkov/crane";
nix-darwin = {
url = "github:nix-darwin/nix-darwin/master";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } (
{ lib, self, ... }:
{
imports = [ (inputs.import-tree ./nix) ];
systems = lib.platforms.darwin;
flake = {
overlays.default = final: prev: {
paneru = self.packages.aarch64-darwin.default;
};
};
perSystem =
{ config, pkgs, ... }:
{
# Run `nix fmt .` to format all nix files in the repo.
# `nixfmt-tree` allows passing a directory to format all files within it.
formatter = pkgs.nixfmt-tree;
};
}
);
}