generated from srid/rib-sample
-
-
Notifications
You must be signed in to change notification settings - Fork 150
/
flake.nix
28 lines (24 loc) · 777 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
{
description = "Future-proof note-taking and publishing based on Zettelkasten";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/08ef0f28e3a41424b92ba1d203de64257a9fca6a";
flake-utils.url = "github:numtide/flake-utils";
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
};
outputs = { self, nixpkgs, flake-utils, ... }:
{
homeManagerModule = import ./home-manager-module.nix;
} // flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
project = import ./project.nix { inherit pkgs; };
in
rec {
packages = { neuron = project.neuron; };
defaultPackage = packages.neuron;
devShell = project.shell;
});
}