flake/flake.nix

132 lines
3.1 KiB
Nix
Raw Permalink Normal View History

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,
2024-09-01 15:37:35 +02:00
agenix,
2024-06-23 22:48:22 +02:00
...
} @ inputs:
2024-04-01 19:25:46 +02:00
flake-parts.lib.mkFlake {inherit inputs;} {
2024-07-17 14:54:00 +02:00
systems = ["x86_64-linux" "aarch64-linux"];
2024-04-01 19:25:46 +02:00
imports = [
./systems
];
2024-06-23 22:48:22 +02:00
perSystem = {
pkgs,
system,
...
}: {
apps = (nixinate.nixinate.${system} self).nixinate;
2024-08-29 01:10:47 +02:00
devShells.default = with pkgs;
mkShellNoCC {
2024-09-01 15:37:35 +02:00
packages = [
just
statix
agenix.packages.${system}.default
];
2024-08-29 01:10:47 +02:00
};
2024-06-23 22:48:22 +02:00
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-08-29 01:10:47 +02:00
camasca = {
url = "github:uku3lig/camasca";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
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";
2024-06-09 17:36:31 +02:00
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";
};
ghostty = {
url = "git+ssh://git@github.com/ghostty-org/ghostty";
inputs.nixpkgs-unstable.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs";
};
2024-06-09 17:53:02 +02:00
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";
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-07-30 12:07:43 +02:00
mystia = {
url = "github:soopyc/mystia";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nix-update-soopy.follows = "";
inputs.flake-compat.follows = "";
};
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";
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-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-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";
};
2023-08-29 13:23:48 +02:00
};
}