greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / flake.nix28 lines · 831B · raw

1{
2  inputs = {
3    # system
4    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
5    impermanence.url = "github:nix-community/impermanence";
6
7    disko.url = "github:nix-community/disko";
8    disko.inputs.nixpkgs.follows = "nixpkgs";
9    
10    home-manager.url = "sourcehut:~rycee/home-manager";
11    home-manager.inputs.nixpkgs.follows = "nixpkgs";
12
13    # misc
14    llm-agents.url = "github:numtide/llm-agents.nix";
15    llm-agents.inputs.nixpkgs.follows = "nixpkgs";
16  };
17
18  outputs = inputs@{ self, nixpkgs, home-manager, ... }:
19    let
20      inherit (self) outputs;
21      lib = nixpkgs.lib // home-manager.lib;
22    in {
23      nixosConfigurations = import ./nixos/hosts { inherit inputs outputs lib; };
24      homeConfigurations = import ./home/profiles;
25
26      overlays = import ./overlays { inherit inputs outputs; };
27    };
28}