2026-05-02 09:08:40 +02:00
|
|
|
{
|
|
|
|
|
description = "m3ta-home — portable user profiles and home-manager configurations";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
nix-colors.url = "github:misterio77/nix-colors";
|
|
|
|
|
|
|
|
|
|
m3ta-nixpkgs = {
|
2026-05-02 09:53:05 +02:00
|
|
|
url = "git+ssh://gitea@code.m3ta.dev/m3tam3re/nixpkgs";
|
2026-05-02 09:08:40 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
2026-05-31 14:38:02 +02:00
|
|
|
agent-lib = {
|
|
|
|
|
url = "path:/home/m3tam3re/p/NIX/agent-lib";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
|
2026-05-02 09:08:40 +02:00
|
|
|
agenix.url = "github:ryantm/agenix";
|
|
|
|
|
|
|
|
|
|
nur.url = "github:nix-community/NUR";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
|
self,
|
|
|
|
|
nixpkgs,
|
|
|
|
|
...
|
|
|
|
|
} @ inputs: let
|
|
|
|
|
lib = nixpkgs.lib;
|
|
|
|
|
in {
|
|
|
|
|
# Home-Manager modules — import in nixos-config via:
|
|
|
|
|
# imports = [ inputs.m3ta-home.homeManagerModules.default ];
|
2026-05-31 14:12:26 +02:00
|
|
|
homeManagerModules = import ./modules {
|
|
|
|
|
inherit inputs;
|
|
|
|
|
selfPath = self.outPath;
|
|
|
|
|
};
|
2026-05-02 09:08:40 +02:00
|
|
|
|
|
|
|
|
# Library functions — use in nixos-config via:
|
|
|
|
|
# m3ta-lib = inputs.m3ta-home.lib;
|
|
|
|
|
# imports = [ (m3ta-lib.mkHome { ... }) ];
|
2026-05-31 14:12:26 +02:00
|
|
|
lib = import ./lib {
|
|
|
|
|
inherit inputs;
|
|
|
|
|
selfPath = self.outPath;
|
|
|
|
|
};
|
2026-05-02 09:08:40 +02:00
|
|
|
|
|
|
|
|
# Overlays (re-exports from m3ta-nixpkgs)
|
|
|
|
|
overlays = inputs.m3ta-nixpkgs.overlays;
|
|
|
|
|
};
|
|
|
|
|
}
|