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 firefox-onebar = {
63 url = "https://git.gay/freeplay/Firefox-Onebar/raw/branch/waf/onebar.css";
64 flake = false;
65 };
66
67 secrets = {
68 url = "github:ayla6/secrets";
69 flake = false;
70 };
71 };
72
73 nixConfig = {
74 accept-flake-config = true;
75
76 extra-substituters = [
77 "https://ayla6.cachix.org"
78 "https://chaotic-nyx.cachix.org/"
79 "https://nix-community.cachix.org"
80 ];
81
82 extra-trusted-public-keys = [
83 "ayla6.cachix.org-1:40BzoflmIK8MovQ5zewLsWlDNWQh7Gdtu2i220h1YmE="
84 "chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8"
85 "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
86 ];
87 };
88
89 outputs = inputs @ {flake-parts, ...}:
90 flake-parts.lib.mkFlake {inherit inputs;} {
91 systems = [
92 "x86_64-linux"
93 ];
94
95 imports = [
96 ./modules/flake
97 inputs.actions-nix.flakeModules.default
98 inputs.files.flakeModules.default
99 inputs.git-hooks-nix.flakeModule
100 inputs.home-manager.flakeModules.home-manager
101 ];
102 };
103}