Files
dotfiles/nixos/nix-config/flake.nix
T

42 lines
928 B
Nix
Raw Normal View History

{
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-08 23:23:47 +04:00
flakeModuleArguments = {
inherit inputs;
};
2026-09-08 23:23:47 +04:00
mkFlakeWithModuleArguments =
flakeParts flakeModuleArguments;
flakeModule = {
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;
}