2026-09-07 23:18:21 +04:00
|
|
|
{
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
|
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
|
url = "github:nix-community/home-manager/release-26.05";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
|
|
|
|
|
|
import-tree.url = "github:vic/import-tree";
|
|
|
|
|
|
|
|
|
|
wrapper-modules.url = "github:BirdeeHub/nix-wrapper-modules";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
outputs = inputs@{ flake-parts, import-tree, home-manager, ... }:
|
|
|
|
|
let
|
2026-09-08 23:23:47 +04:00
|
|
|
flakeParts = flake-parts.lib.mkFlake;
|
2026-09-07 23:18:21 +04:00
|
|
|
|
2026-09-08 23:23:47 +04:00
|
|
|
flakeModuleArguments = {
|
2026-09-07 23:18:21 +04:00
|
|
|
inherit inputs;
|
|
|
|
|
};
|
|
|
|
|
|
2026-09-08 23:23:47 +04:00
|
|
|
mkFlakeWithModuleArguments =
|
|
|
|
|
flakeParts flakeModuleArguments;
|
|
|
|
|
|
|
|
|
|
flakeModule = {
|
2026-09-07 23:18:21 +04:00
|
|
|
imports = [
|
|
|
|
|
home-manager.flakeModules.home-manager
|
|
|
|
|
(import-tree ./modules)
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
systems = [
|
|
|
|
|
"x86_64-linux"
|
|
|
|
|
"aarch64-linux"
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
in
|
2026-09-08 23:23:47 +04:00
|
|
|
mkFlakeWithModuleArguments flakeModule;
|
2026-09-07 23:18:21 +04:00
|
|
|
}
|