1{
2 description = "Aly's NixOS flake with flake-parts";
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 fontix = {
34 url = "github:alyraffauf/fontix";
35 inputs.nixpkgs.follows = "nixpkgs";
36 };
37
38 git-hooks-nix = {
39 url = "github:cachix/git-hooks.nix";
40 inputs.nixpkgs.follows = "nixpkgs";
41 };
42
43 home-manager = {
44 url = "github:nix-community/home-manager/master";
45 inputs.nixpkgs.follows = "nixpkgs";
46 };
47
48 lanzaboote = {
49 url = "github:nix-community/lanzaboote/v0.4.2";
50 inputs.nixpkgs.follows = "nixpkgs";
51 };
52
53 nur.url = "github:nix-community/NUR";
54
55 zen-browser = {
56 url = "github:0xc000022070/zen-browser-flake";
57 inputs.nixpkgs.follows = "nixpkgs";
58 };
59
60 firefox-onebar = {
61 url = "https://git.gay/freeplay/Firefox-Onebar/raw/branch/waf/onebar.css";
62 flake = false;
63 };
64
65 secrets = {
66 url = "github:ayla6/secrets";
67 flake = false;
68 };
69 };
70
71 nixConfig = {
72 accept-flake-config = true;
73
74 extra-substituters = [
75 "https://ayla6.cachix.org"
76 "https://chaotic-nyx.cachix.org/"
77 "https://nix-community.cachix.org"
78 ];
79
80 extra-trusted-public-keys = [
81 "ayla6.cachix.org-1:40BzoflmIK8MovQ5zewLsWlDNWQh7Gdtu2i220h1YmE="
82 "chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8"
83 "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
84 ];
85 };
86
87 outputs = inputs @ {flake-parts, ...}:
88 flake-parts.lib.mkFlake {inherit inputs;} {
89 systems = [
90 "x86_64-linux"
91 ];
92
93 imports = [
94 ./modules/flake
95 inputs.actions-nix.flakeModules.default
96 inputs.files.flakeModules.default
97 inputs.git-hooks-nix.flakeModule
98 inputs.home-manager.flakeModules.home-manager
99 ];
100 };
101}