2023-08-29 13:23:48 +02:00
|
|
|
{
|
|
|
|
description = "example flake idk";
|
|
|
|
|
2024-06-23 22:48:22 +02:00
|
|
|
outputs = {
|
|
|
|
self,
|
|
|
|
flake-parts,
|
|
|
|
nixinate,
|
|
|
|
...
|
|
|
|
} @ inputs:
|
2024-04-01 19:25:46 +02:00
|
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
|
|
systems = ["x86_64-linux"];
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./systems
|
2024-06-12 01:04:41 +02:00
|
|
|
./exprs
|
2024-04-01 19:25:46 +02:00
|
|
|
];
|
2024-06-23 22:48:22 +02:00
|
|
|
|
|
|
|
perSystem = {
|
|
|
|
pkgs,
|
|
|
|
system,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
apps = (nixinate.nixinate.${system} self).nixinate;
|
|
|
|
|
|
|
|
devShells.default = pkgs.mkShellNoCC {
|
|
|
|
packages = with pkgs; [
|
|
|
|
just
|
|
|
|
statix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
formatter = pkgs.alejandra;
|
|
|
|
};
|
2024-04-01 19:25:46 +02:00
|
|
|
};
|
|
|
|
|
2023-08-29 13:23:48 +02:00
|
|
|
inputs = {
|
2024-04-04 21:59:47 +02:00
|
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
2023-11-07 15:52:47 +01:00
|
|
|
|
2024-06-09 17:36:31 +02:00
|
|
|
agenix = {
|
|
|
|
url = "github:uku3lig/agenix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.systems.follows = "systems";
|
|
|
|
inputs.home-manager.follows = "home-manager";
|
|
|
|
inputs.darwin.follows = "";
|
|
|
|
};
|
|
|
|
|
|
|
|
catppuccin.url = "github:Stonks3141/ctp-nix";
|
|
|
|
|
|
|
|
crane = {
|
|
|
|
url = "github:ipetkov/crane";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2023-11-08 14:42:16 +01:00
|
|
|
flake-parts = {
|
|
|
|
url = "github:hercules-ci/flake-parts";
|
|
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2024-04-01 19:25:46 +02:00
|
|
|
flake-utils = {
|
|
|
|
url = "github:numtide/flake-utils";
|
|
|
|
inputs.systems.follows = "systems";
|
|
|
|
};
|
|
|
|
|
2024-06-09 17:53:02 +02:00
|
|
|
ghostty.url = "git+ssh://git@github.com/ghostty-org/ghostty";
|
|
|
|
|
2023-11-13 04:22:42 +01:00
|
|
|
home-manager = {
|
2024-04-04 21:59:47 +02:00
|
|
|
url = "github:nix-community/home-manager";
|
2023-11-13 04:22:42 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2023-11-08 15:18:44 +01:00
|
|
|
lanzaboote = {
|
|
|
|
url = "github:nix-community/lanzaboote";
|
2024-04-01 19:25:46 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.flake-parts.follows = "flake-parts";
|
|
|
|
inputs.flake-utils.follows = "flake-utils";
|
2024-04-01 23:13:29 +02:00
|
|
|
inputs.crane.follows = "crane";
|
2024-04-01 19:25:46 +02:00
|
|
|
inputs.pre-commit-hooks-nix.follows = "";
|
|
|
|
inputs.flake-compat.follows = "";
|
2023-11-08 14:42:16 +01:00
|
|
|
};
|
|
|
|
|
2024-06-23 22:48:22 +02:00
|
|
|
nixinate = {
|
|
|
|
url = "github:matthewcroughan/nixinate";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
2024-06-09 17:36:31 +02:00
|
|
|
nixos-wsl = {
|
|
|
|
url = "github:nix-community/NixOS-WSL";
|
2024-01-19 00:45:43 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-06-09 17:36:31 +02:00
|
|
|
inputs.flake-utils.follows = "flake-utils";
|
2024-04-01 19:25:46 +02:00
|
|
|
inputs.flake-compat.follows = "";
|
2024-01-19 00:45:43 +01:00
|
|
|
};
|
2024-01-19 23:45:31 +01:00
|
|
|
|
2024-06-09 17:36:31 +02:00
|
|
|
# nix's most elaborate, overcomplicated joke
|
|
|
|
systems.url = "github:nix-systems/default";
|
|
|
|
|
2024-01-20 02:20:11 +01:00
|
|
|
vscode-extensions = {
|
|
|
|
url = "github:nix-community/nix-vscode-extensions";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-04-01 19:25:46 +02:00
|
|
|
inputs.flake-utils.follows = "flake-utils";
|
|
|
|
inputs.flake-compat.follows = "";
|
2024-01-20 02:20:11 +01:00
|
|
|
};
|
|
|
|
|
2024-01-19 23:45:31 +01:00
|
|
|
vscode-server = {
|
|
|
|
url = "github:nix-community/nixos-vscode-server";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2024-04-01 19:25:46 +02:00
|
|
|
inputs.flake-utils.follows = "flake-utils";
|
2024-01-19 23:45:31 +01:00
|
|
|
};
|
2024-02-02 15:20:48 +01:00
|
|
|
|
|
|
|
# ==== uku3lig stuff ====
|
|
|
|
api-rs = {
|
|
|
|
url = "github:uku3lig/api-rs";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.flake-parts.follows = "flake-parts";
|
2024-04-01 19:25:46 +02:00
|
|
|
inputs.rust-overlay.follows = "";
|
2024-02-02 15:20:48 +01:00
|
|
|
};
|
2024-02-02 16:20:46 +01:00
|
|
|
|
|
|
|
ukubot-rs = {
|
2024-04-04 21:59:47 +02:00
|
|
|
url = "github:uku3lig/ukubot-rs";
|
2024-02-02 16:20:46 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
inputs.flake-parts.follows = "flake-parts";
|
2024-04-01 19:25:46 +02:00
|
|
|
inputs.rust-overlay.follows = "";
|
2024-02-02 16:20:46 +01:00
|
|
|
};
|
2023-08-29 13:23:48 +02:00
|
|
|
};
|
|
|
|
}
|