summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix2
-rw-r--r--lib/my.nix15
2 files changed, 17 insertions, 0 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 196b76b..6375d5b 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -16,4 +16,6 @@ lib: prev: with lib; {
# Collects the inputs of a flake recursively (with possible duplicates).
collectFlakeInputs = input:
[ input ] ++ concatMap collectFlakeInputs (builtins.attrValues (input.inputs or {}));
+
+ my = import ./my.nix lib;
}
diff --git a/lib/my.nix b/lib/my.nix
new file mode 100644
index 0000000..500a1d7
--- /dev/null
+++ b/lib/my.nix
@@ -0,0 +1,15 @@
+lib: with lib; let
+ modules = [
+ {
+ config = {
+ _module.freeformType = with types; attrs;
+
+ username = "mivi";
+ githubUsername = "mvinkio";
+ realName = "Mike Vink";
+ domain = "vinkland.xyz";
+ email = "mike1994vink@gmail.com";
+ };
+ }
+ ];
+in (evalModules { inherit modules; }).config