This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
99 lines (86 loc) · 2.51 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
{
description = "missrce's dotfiles";
outputs = inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} {imports = [./parts];};
inputs = {
# package suppliers
nixpkgs-master.url = "github:NixOS/nixpkgs";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# for other inputs to follow preventing multiple copies of systems when one is only needed.
systems.url = "github:nix-systems/default-linux";
# minimal flake wrapper
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
# tree-wide formatter
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# git commit hooks management
git-hooks = {
url = "github:cachix/git-hooks.nix";
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
nixpkgs-stable.follows = "";
flake-compat.follows = "";
};
};
# age-encrypted secrets for NixOS
agenix = {
url = "github:ryantm/agenix";
inputs = {
nixpkgs.follows = "nixpkgs";
darwin.follows = "";
home-manager.follows = "home-manager";
systems.follows = "systems";
};
};
# userspace management
home-manager = {
url = "home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# manage disk partition layouts
disko = {
url = "github:nix-community/disko";
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
};
};
# secure boot for nixos
lanzaboote = {
url = "github:nix-community/lanzaboote";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
pre-commit-hooks-nix.follows = "";
flake-compat.follows = "";
};
};
# niri WM
niri = {
url = "github:sodiboo/niri-flake";
inputs = {
nixpkgs.follows = "nixpkgs";
nixpkgs-stable.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};
# vscode extensions (they use flake-utils so as a reminder in future if any other input uses it make sure to follow it)
vscode-extensions = {
url = "github:nix-community/nix-vscode-extensions";
inputs = {
nixpkgs.follows = "nixpkgs-unstable";
flake-compat.follows = "";
};
};
# catppuccin theming
catppuccin = {
type = "github";
owner = "catppuccin";
repo = "nix";
};
};
}