-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
108 lines (80 loc) · 3.33 KB
/
flake.nix
File metadata and controls
108 lines (80 loc) · 3.33 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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
description = "Ziping Sun's NixOS configuration";
inputs = {
# nixpkgs
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# flake-parts
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
# flake modules
devshell.url = "github:numtide/devshell";
devshell.inputs.nixpkgs.follows = "nixpkgs";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
git-hooks-nix.url = "github:cachix/git-hooks.nix";
git-hooks-nix.inputs.flake-compat.follows = "flake-compat";
git-hooks-nix.inputs.nixpkgs.follows = "nixpkgs";
git-hooks-nix.inputs.gitignore.follows = "gitignore-nix";
deploy-rs.url = "github:serokell/deploy-rs";
deploy-rs.inputs.flake-compat.follows = "flake-compat";
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
deploy-rs.inputs.utils.follows = "flake-utils";
# libraries
nixago.url = "github:jmgilman/nixago";
nixago.inputs.nixpkgs.follows = "nixpkgs";
nixago.inputs.flake-utils.follows = "flake-utils";
nixago.inputs.nixago-exts.follows = "nixago-exts";
nixago-exts.url = "github:nix-community/nixago-extensions";
nixago-exts.inputs.flake-utils.follows = "flake-utils";
nixago-exts.inputs.nixago.follows = "nixago";
nixago-exts.inputs.nixpkgs.follows = "nixpkgs";
# nixos modules
disko.url = "github:nix-community/disko";
disko.inputs.nixpkgs.follows = "nixpkgs";
impermanence.url = "github:nix-community/impermanence";
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";
nix-minecraft.inputs.flake-utils.follows = "flake-utils";
nix-minecraft.inputs.flake-compat.follows = "flake-compat";
# libraries
blank.url = "github:divnix/blank";
systems.url = "github:nix-systems/default";
flake-utils.url = "github:numtide/flake-utils";
flake-utils.inputs.systems.follows = "systems";
flake-compat.url = "github:edolstra/flake-compat";
flake-compat.flake = false;
haumea.url = "github:nix-community/haumea";
haumea.inputs.nixpkgs.follows = "nixpkgs";
gitignore-nix.url = "github:hercules-ci/gitignore.nix";
gitignore-nix.inputs.nixpkgs.follows = "nixpkgs";
pyproject-nix.url = "github:nix-community/pyproject.nix";
pyproject-nix.inputs.nixpkgs.follows = "nixpkgs";
nv2nix.url = "github:adisbladis/uv2nix";
nv2nix.inputs.pyproject-nix.follows = "pyproject-nix";
nv2nix.inputs.nixpkgs.follows = "nixpkgs";
dream2nix.url = "github:nix-community/dream2nix";
dream2nix.inputs.nixpkgs.follows = "nixpkgs";
dream2nix.inputs.purescript-overlay.follows = "blank";
dream2nix.inputs.pyproject-nix.follows = "blank";
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
flake-parts.flakeModules.easyOverlay
./flake-modules/flake-module.nix
./flake/devshell
./flake/nixpkgs.nix
./flake/hosts.nix
./pkgs/flake-module.nix
];
systems = [
"aarch64-linux"
"x86_64-linux"
];
};
}