kore / flake.nix34 lines · 1011B · 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 greenhouse.url = "git+https://git.lostduk.com/greenhouse.git";
17 greenhouse.flake = false;
18 };
19
20 outputs = inputs@{ self, nixpkgs, ... }:
21 let
22 inherit (self) outputs;
23 inherit (nixpkgs) lib;
24 kore = lib.importJSON ./kore.json;
25 palette = import ./palette.nix;
26 in {
27 inherit kore palette;
28
29 nixosConfigurations = import ./nixos/hosts { inherit inputs outputs lib kore; };
30 homeModules = import ./home/profiles { inherit kore; };
31
32 overlays = import ./overlays { inherit inputs outputs; };
33 };
34}