my nix flake.
1{
2 inputs = {
3 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
4 nixos-hardware.url = "github:NixOS/nixos-hardware/master";
5
6 flake-parts = {
7 url = "github:hercules-ci/flake-parts";
8 inputs.nixpkgs.follows = "nixpkgs";
9 };
10
11 home-manager = {
12 url = "github:nix-community/home-manager";
13 inputs.nixpkgs.follows = "nixpkgs";
14 };
15
16 spicetify-nix = {
17 url = "github:Gerg-L/spicetify-nix";
18 inputs = {
19 nixpkgs.follows = "nixpkgs";
20 };
21 };
22
23 catppuccin = {
24 url = "github:catppuccin/nix";
25 inputs.nixpkgs.follows = "nixpkgs";
26 };
27 };
28
29 outputs =
30 inputs:
31 inputs.flake-parts.lib.mkFlake { inherit inputs; } {
32 systems = [
33 "x86_64-linux"
34 "aarch64-linux"
35 ];
36
37 imports = [ ./hosts ];
38
39 perSystem =
40 { pkgs, ... }:
41 {
42 formatter = pkgs.nixfmt-rfc-style;
43 };
44 };
45}