1{
2 description = "ayla's nix config";
3
4 inputs = {
5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6 nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
7
8 actions-nix = {
9 url = "github:alyraffauf/actions.nix";
10
11 inputs = {
12 git-hooks.follows = "git-hooks-nix";
13 nixpkgs.follows = "nixpkgs";
14 };
15 };
16
17 agenix = {
18 url = "github:ryantm/agenix";
19 inputs.nixpkgs.follows = "nixpkgs";
20 };
21
22 copyparty.url = "github:9001/copyparty";
23
24 disko = {
25 url = "github:nix-community/disko";
26 inputs.nixpkgs.follows = "nixpkgs";
27 };
28
29 files.url = "github:alyraffauf/files";
30
31 flake-parts.url = "github:hercules-ci/flake-parts";
32
33 nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
34
35 fontix = {
36 url = "github:alyraffauf/fontix";
37 inputs.nixpkgs.follows = "nixpkgs";
38 };
39
40 git-hooks-nix = {
41 url = "github:cachix/git-hooks.nix";
42 inputs.nixpkgs.follows = "nixpkgs";
43 };
44
45 home-manager = {
46 url = "github:nix-community/home-manager/master";
47 inputs.nixpkgs.follows = "nixpkgs";
48 };
49
50 lanzaboote = {
51 url = "github:nix-community/lanzaboote/v0.4.2";
52 inputs.nixpkgs.follows = "nixpkgs";
53 };
54
55 nur.url = "github:nix-community/NUR";
56
57 tangled-core = {
58 url = "git+https://tangled.sh/@tangled.sh/core";
59 inputs.nixpkgs.follows = "nixpkgs";
60 };
61
62 zen-browser = {
63 url = "github:0xc000022070/zen-browser-flake";
64 inputs.nixpkgs.follows = "nixpkgs";
65 };
66
67 firefox-onebar = {
68 url = "https://git.gay/freeplay/Firefox-Onebar/raw/branch/waf/onebar.css";
69 flake = false;
70 };
71
72 secrets = {
73 url = "github:ayla6/secrets";
74 flake = false;
75 };
76 };
77
78 nixConfig = {
79 accept-flake-config = true;
80
81 extra-substituters = [
82 "https://ayla6.cachix.org"
83 "https://chaotic-nyx.cachix.org/"
84 "https://nix-community.cachix.org"
85 ];
86
87 extra-trusted-public-keys = [
88 "ayla6.cachix.org-1:40BzoflmIK8MovQ5zewLsWlDNWQh7Gdtu2i220h1YmE="
89 "chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8"
90 "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
91 ];
92 };
93
94 outputs = inputs @ {flake-parts, ...}:
95 flake-parts.lib.mkFlake {inherit inputs;} {
96 systems = [
97 "x86_64-linux"
98 ];
99
100 imports = [
101 ./modules/flake
102 inputs.actions-nix.flakeModules.default
103 inputs.files.flakeModules.default
104 inputs.git-hooks-nix.flakeModule
105 inputs.home-manager.flakeModules.home-manager
106 ];
107 };
108}