fix: add missing non-flake entry

This commit is contained in:
Jake Hamilton 2024-06-08 05:28:59 -07:00
parent 135bd39ef1
commit a7ab8dcf88
Signed by untrusted user: jakehamilton
GPG key ID: 9762169A1B35EA68
2 changed files with 18 additions and 1 deletions

View file

@ -21,7 +21,10 @@ let
url = "https://github.com/auxolotl/labs/archive/main.tar.gz"; url = "https://github.com/auxolotl/labs/archive/main.tar.gz";
sha256 = "<sha256>"; sha256 = "<sha256>";
}; };
foundation = import "${labs}/foundation"; foundation = import "${labs}/foundation" {
# Specifying a system is optional. By default it will use the current system.
system = "i686-linux";
};
in in
# ... # ...
``` ```

14
foundation/default.nix Normal file
View file

@ -0,0 +1,14 @@
{system ? builtins.currentSystem}: let
lib = import ./../lib;
modules = import ./src;
result = lib.modules.run {
modules =
(builtins.attrValues modules)
++ [
{config.aux.system = system;}
];
};
in
result.config.exports.resolved