aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.nix6
-rw-r--r--users/fcuny/default.nix9
2 files changed, 10 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index 8afc3c2..6e48370 100644
--- a/flake.nix
+++ b/flake.nix
@@ -61,11 +61,7 @@
tools = import ./tools { inherit pkgs; };
- users.fcuny = {
- blog = import ./users/fcuny/blog { inherit pkgs; };
- notes = import ./users/fcuny/notes { inherit pkgs; };
- resume = import ./users/fcuny/resume { inherit pkgs; };
- };
+ users.fcuny = import ./users/fcuny { inherit pkgs; };
};
checks = {
diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix
new file mode 100644
index 0000000..f5b0914
--- /dev/null
+++ b/users/fcuny/default.nix
@@ -0,0 +1,9 @@
+{ pkgs }:
+
+pkgs.lib.makeScope pkgs.newScope (pkgs: {
+ resume = pkgs.callPackage ./resume { };
+
+ blog = pkgs.callPackage ./blog { };
+
+ notes = pkgs.callPackage ./notes { };
+})