wip: initial frost support
This commit is contained in:
parent
6b09a4b7b5
commit
116971f60d
18 changed files with 91 additions and 30 deletions
27
flake.nix
27
flake.nix
|
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue