-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
162 lines (135 loc) · 4.12 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
# https://github.com/Lunarnovaa/nixconf
description = "lunarnova's nixos flake";
outputs = inputs:
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
# This outputs format is heavily inspired by NotAShelf/nyx
imports = [
./flake
./hosts
];
# Systems for which the flake will be built is made relative
# of the systems flake input (referenced from NotAShelf/nyx)
systems = import inputs.systems;
};
inputs = {
## Systems is a fancy flake to unify the systems ##
## for which the flake and its inputs are built. ##
systems = {
# Currently only use x86_64-linux :)
url = "github:nix-systems/x86_64-linux";
};
## package inputs ##
# use the unstable branch
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# used for bibata-hyprcursors
niqspkgs = {
url = "github:diniamo/niqspkgs";
inputs = {
nixpkgs.follows = "nixpkgs";
systems.follows = "systems";
lix.follows = "";
flake-parts.follows = "flake-parts";
};
};
## system infrastructure ##
# used for my laptop
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; #no nixpkgs necessary
# secrets management
agenix = {
url = "github:ryantm/agenix";
inputs = {
nixpkgs.follows = "nixpkgs";
systems.follows = "systems";
# stop agenix from importing home-manager and darwin
home-manager.follows = "";
darwin.follows = "";
};
};
# modularizing my flake
flake-parts = {
url = "github:hercules-ci/flake-parts";
};
## desktop stuff ##
# hyprland flake
hyprland.url = "github:hyprwm/Hyprland/75dff7205f6d2bd437abfb4196f700abee92581a"; #v0.47.1
# couple quick notes:
# i use hyprland releases to make it easier to monitor breaking changes. hyprland moves pretty fast and i don't care too much about hyprland's bleeding edge.
# no input follows because hyprland uses a cache
# astal, a library for aylur's shell
astal = {
url = "github:aylur/astal";
inputs.nixpkgs.follows = "nixpkgs";
};
# ags, a scaffolding for using astal with typescript
ags = {
url = "github:aylur/ags";
inputs = {
nixpkgs.follows = "nixpkgs";
astal.follows = "astal";
};
};
## module specific stuff ##
# a spotify ricer
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-compat.follows = "flake-compat";
};
};
# minecraft server configured with nix and ran as a service
nix-minecraft = {
url = "github:Infinidoge/nix-minecraft";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
flake-compat.follows = "flake-compat";
};
};
## shelfware ##
# base16 palettes in nix
basix = {
url = "github:notashelf/basix";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
flake-compat.follows = "flake-compat";
};
};
# not a vim flake / neovim flake / pick your other poison
nvf = {
url = "github:notashelf/nvf";
inputs = {
nixpkgs.follows = "nixpkgs";
systems.follows = "systems";
flake-utils.follows = "flake-utils";
flake-parts.follows = "flake-parts";
};
};
## hjem business ##
# hjem, a replacement for home-manager's tooling
hjem = {
url = "github:feel-co/hjem";
inputs.nixpkgs.follows = "nixpkgs";
};
# i use a local version for dogfeeding
hjem-rum = {
url = "github:snugnug/hjem-rum/";
#url = "path:/home/lunarnova/snug/hjem-rum";
inputs = {
nixpkgs.follows = "nixpkgs";
hjem.follows = "hjem";
};
};
## input unification, both added to be referenced in ##
## other flake input's inputs c: ##
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
flake-compat = {
url = "github:edolstra/flake-compat";
};
};
}