kore / flake.nix30 lines · 867B · 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
17 outputs = inputs@{ self, nixpkgs, ... }:
18 let
19 inherit (self) outputs;
20 inherit (nixpkgs) lib;
21 kore = lib.importJSON ./kore.json;
22 in {
23 inherit kore;
24
25 nixosConfigurations = import ./nixos/hosts { inherit inputs outputs lib kore; };
26 homeModules = import ./home/profiles { inherit kore; };
27
28 overlays = import ./overlays { inherit inputs outputs; };
29 };
30}