-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
54 lines (47 loc) · 1.19 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
{
description = "Just a bunch of packages";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
nix-update-soopy = {
url = "github:soopyc/nix-update";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
};
nixConfig = {
extra-substituters = [
"https://cache.garnix.io"
];
extra-trusted-public-keys = [
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
];
};
outputs = {
self,
nixpkgs,
...
} @ inputs: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
};
in {
packages.${system} = import ./packages/all-packages.nix {} pkgs;
overlays.default = import ./packages/all-packages.nix;
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
devShells.${system}.default = pkgs.mkShellNoCC {
packages = [
inputs.nix-update-soopy.packages.${system}.default
];
};
nixosModules = {
fixups = import ./modules/fixups;
vmauth = import ./modules/vmauth;
arrpc = import ./modules/arrpc;
bsky-pds = import ./modules/bsky-pds;
};
};
}