greenhouse

kore

my public infrastructure monorepo

git clone [email protected]:kore.git

kore / flake.nix31 lines · 936B · raw

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