wip: initial frost support

This commit is contained in:
Jake Hamilton 2023-08-16 23:46:29 -07:00
parent 6b09a4b7b5
commit 116971f60d
No known key found for this signature in database
GPG key ID: 9762169A1B35EA68
18 changed files with 91 additions and 30 deletions

View file

@ -22,7 +22,7 @@
# `lib.flake-utils-plus.mkApp`.
# Usage: mkLib { inherit inputs; src = ./.; }
# result: lib
mkLib = import ./lib core-inputs;
mkLib = import ./snowfall-lib core-inputs;
# A convenience wrapper to create the library and then call `lib.mkFlake`.
# Usage: mkFlake { inherit inputs; src = ./.; ... }
@ -50,5 +50,30 @@
homeModules = {
user = ./modules/home/user/default.nix;
};
_snowfall = rec {
raw-config = config;
config = {
root = ./.;
src = ./.;
namespace = "snowfall";
lib-dir = "snowfall-lib";
};
internal-lib =
let
lib = mkLib {
src = ./.;
inputs = inputs // {
self = { };
};
};
in
builtins.removeAttrs
lib.snowfall
[ "internal" ];
};
};
}