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