flake/flake.nix
uku dc67ac08b4
flake.lock: Update
Flake lock file updates:

• Updated input 'camasca':
    'git+https://git.uku3lig.net/uku/camasca?ref=refs/heads/main&rev=bbcfc7babd9fc854e961e6422e61ea5ab7f09423' (2024-12-30)
  → 'git+https://git.uku3lig.net/uku/camasca?ref=refs/heads/main&rev=fd017eee2fdbce44cbe57f3d72a34276ffad55d7' (2025-01-06)
• Updated input 'crane':
    'github:ipetkov/crane/72e2d02dbac80c8c86bf6bf3e785536acf8ee926?narHash=sha256-3aH/0Y6ajIlfy7j52FGZ%2Bs4icVX0oHhqBzRdlOeztqg%3D' (2024-12-21)
  → 'github:ipetkov/crane/61ba163d85e5adeddc7b3a69bb174034965965b2?narHash=sha256-iKOPq86AOWCohuzxwFy/MtC8PcSVGnrxBOvxpjpzrAY%3D' (2025-01-05)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/f2f7418ce0ab4a5309a4596161d154cfc877af66?narHash=sha256-soePLBazJk0qQdDVhdbM98vYdssfs3WFedcq%2BraipRI%3D' (2025-01-01)
  → 'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de?narHash=sha256-%2Bhu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU%3D' (2025-01-06)
• Updated input 'home-manager':
    'github:nix-community/home-manager/ef64efdbaca99f9960f75efab991e4c49e79a5f1?narHash=sha256-/NptDI4njO5hH0ZVQ2yzbvTXmBOabZaGYkjhnMJ37TY%3D' (2025-01-03)
  → 'github:nix-community/home-manager/172b91bfb2b7f5c4a8c6ceac29fd53a01ef07196?narHash=sha256-/LPWMiiJGPHGd7ZYEgmbE2da4zvBW0acmshUjYC3WG4%3D' (2025-01-05)
• Updated input 'mystia':
    'github:soopyc/mystia/87fcf4041dcb362f3074f7675b5b5f9f2bcdc1fd?narHash=sha256-YCV7J8mo7OXgUSMhNJwvq7u2Ka8LRo7sLaQQi5RHV30%3D' (2024-12-30)
  → 'github:soopyc/mystia/7380f249aa50a9676ac9b5ca8342262a2a097f5a?narHash=sha256-BX3bAAPLKwpIl/1jvCWUKOl4q8ri9BGcRwN%2BXI8bTf8%3D' (2025-01-06)
• Updated input 'nixos-wsl':
    'github:nix-community/NixOS-WSL/dee4425dcee3149475ead0cb6a616b8a028c5888?narHash=sha256-K9qGHniYBbjqVcEiwXyiofj/IFf78L5F0/FCf%2BCKyr0%3D' (2024-12-10)
  → 'github:nix-community/NixOS-WSL/63c3b4ed1712a3a0621002cd59bfdc80875ecbb0?narHash=sha256-csysw/Szu98QDiA2lhWk9seYOyCebeVEWL89zh1cduM%3D' (2025-01-05)
• Removed input 'nixos-wsl/flake-utils'
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65?narHash=sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk%3D' (2025-01-02)
  → 'github:NixOS/nixpkgs/8f3e1f807051e32d8c95cd12b9b421623850a34d?narHash=sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs%2BrI%3D' (2025-01-04)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/29806abab803e498df96d82dd6f34b32eb8dd2c8?narHash=sha256-1hKMRIT%2BQZNWX46e4gIovoQ7H8QRb7803ZH4qSKI45o%3D' (2025-01-03)
  → 'github:numtide/treefmt-nix/1788ca5acd4b542b923d4757d4cfe4183cc6a92d?narHash=sha256-FBG9d7e0BTFfxVdw4b5EmNll2Mv7hfRc54hbB4LrKko%3D' (2025-01-05)
• Updated input 'vscode-extensions':
    'github:nix-community/nix-vscode-extensions/b0f7a59cee0ca77c157ab4e0c60d4a9df6bccb86?narHash=sha256-U4Oy2o/CmBg6gexAHamH%2B%2B52oAgvvEwcq9fkEmcvjyw%3D' (2025-01-03)
  → 'github:nix-community/nix-vscode-extensions/ba2fa846fba43fb9c8cd71b1435d227a7925fae0?narHash=sha256-wSVfnO8Hixn767LsdAE/FIHO5IemkfbTEZZ03%2BHUowM%3D' (2025-01-06)
2025-01-06 09:27:20 +01:00

149 lines
3.4 KiB
Nix

{
description = "example flake idk";
outputs =
{
agenix,
flake-parts,
treefmt-nix,
...
}@inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"x86_64-linux"
"aarch64-linux"
];
imports = [
treefmt-nix.flakeModule
./systems
];
perSystem =
{
pkgs,
system,
...
}:
{
devShells.default = pkgs.mkShellNoCC {
packages = with pkgs; [
agenix.packages.${system}.default
just
nh
nixfmt-rfc-style
statix
];
};
treefmt = {
projectRootFile = "flake.nix";
settings.excludes = [
".envrc"
".gitignore"
"*.age"
"flake.lock"
"justfile"
"LICENSE"
];
programs = {
nixfmt.enable = true;
prettier.enable = true;
stylua.enable = true;
};
};
};
};
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
camasca = {
url = "git+https://git.uku3lig.net/uku/camasca";
inputs.nixpkgs.follows = "nixpkgs";
};
agenix = {
url = "github:uku3lig/agenix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
inputs.home-manager.follows = "home-manager";
inputs.darwin.follows = "";
};
crane.url = "github:ipetkov/crane";
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
lanzaboote = {
url = "github:nix-community/lanzaboote";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
inputs.crane.follows = "crane";
inputs.pre-commit-hooks-nix.follows = "";
inputs.flake-compat.follows = "";
};
mystia = {
url = "github:soopyc/mystia";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nix-update-soopy.follows = "";
inputs.flake-compat.follows = "";
};
nixos-wsl = {
url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-compat.follows = "";
};
# nix's most elaborate, overcomplicated joke
systems.url = "github:nix-systems/default";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
vscode-extensions = {
url = "github:nix-community/nix-vscode-extensions";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.flake-compat.follows = "";
};
# ==== uku3lig stuff ====
api-rs = {
url = "github:uku3lig/api-rs";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
ukubot-rs = {
url = "github:uku3lig/ukubot-rs";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
# ==== non-nix inputs ====
vencord = {
url = "github:Vendicated/Vencord";
flake = false;
};
};
}