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