-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathflake.nix
93 lines (74 loc) · 2.15 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
description = "LinuDev Configuration NixOs.";
outputs = inputs:
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux"];
imports = [./home/profiles ./hosts ./lib ./modules ./pkgs];
perSystem = {
config,
pkgs,
...
}: {
devShells = {
default = pkgs.mkShell {
packages = [pkgs.alejandra pkgs.git config.packages.repl];
name = "nixland";
DIRENV_LOG_FORMAT = "";
};
};
# Nix Formatter
formatter = pkgs.alejandra;
};
};
inputs = {
# global, so they can be `.follow`ed
systems.url = "github:nix-systems/default-linux";
flake-compat.url = "github:edolstra/flake-compat";
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# rest of inputs, alphabetical order
agenix = {
url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "hm";
inputs.systems.follows = "systems";
};
anyrun.url = "github:fufexan/anyrun/launch-prefix";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
ghostty = {
url = "github:ghostty-org/ghostty";
};
helix.url = "github:helix-editor/helix";
hm = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
lanzaboote.url = "github:nix-community/lanzaboote";
niri = {
url = "github:sodiboo/niri-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-db = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-gaming = {
url = "github:fufexan/nix-gaming";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};
zen-browser = {
url = "github:linuxmobile/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}