generated from nixcafe/develop-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
70 lines (61 loc) · 1.66 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
impermanence.url = "github:nix-community/impermanence";
vscode-server.url = "github:nix-community/nixos-vscode-server";
nixos-wsl = {
url = "github:nix-community/NixOS-WSL/main";
inputs.nixpkgs.follows = "nixpkgs";
};
lanzaboote = {
url = "github:nix-community/lanzaboote";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
pre-commit-hooks = {
url = "github:cachix/git-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = {
url = "github:yaxitech/ragenix";
inputs.nixpkgs.follows = "nixpkgs";
};
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
# game
nix-gaming = {
url = "github:fufexan/nix-gaming";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs:
let
# TODO: write your own module loader with container support.
lib = inputs.snowfall-lib.mkLib {
# snowfall doc: https://snowfall.org/guides/lib/quickstart/
inherit inputs;
# root dir
src = ./.;
snowfall = {
namespace = "cattery";
meta = {
name = "meow-flake";
title = "Meow' Nix Flakes";
};
};
};
in
lib.mkFlake {
channels-config = {
allowUnfree = true;
permittedInsecurePackages = [ ];
};
outputs-builder = channels: { formatter = channels.nixpkgs.nixfmt-rfc-style; };
};
}