Skip to content

Commit 68105d1

Browse files
committed
refactor: Remove old comment about nix.registry
1 parent 6c5c528 commit 68105d1

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

default.nix

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,6 @@
2020
then "/Users/${config.home.username}"
2121
else "/home/${config.home.username}";
2222

23-
# nix.registry =
24-
# let
25-
# flakeDir = "${config.home.homeDirectory}/flakes";
26-
# flakeDirExists = config.home.homeDirectory != "" && (builtins.readDir (config.home.homeDirectory)).flakes or "" == "directory";
27-
# flakeDirNames = builtins.attrNames (lib.attrsets.filterAttrs (_: fileType: fileType == "directory") (builtins.readDir flakeDir));
28-
# flakeList = map
29-
# (dirName: {
30-
# name = dirName;
31-
# value = {
32-
# exact = false;
33-
# to = { type = "path"; path = "${flakeDir}/${dirName}"; };
34-
# };
35-
# })
36-
# flakeDirNames;
37-
# flakes = lib.attrsets.optionalAttrs flakeDirExists (builtins.listToAttrs flakeList);
38-
# in
39-
# # Add exact=false to all the nix.registry.<name> defined here
40-
# flakes // builtins.mapAttrs (_: val: val // { exact = false; }) {
41-
# zig.to = { type = "github"; owner = "aiotter"; repo = "zig-on-nix"; };
42-
# local.to = { type = "path"; path = config.home.homeDirectory + "/repo/github.com/NixOS/nixpkgs"; };
43-
# repo.to = { type = "path"; path = config.home.homeDirectory + "/repo/github.com"; };
44-
# };
4523

4624
home.packages = [
4725
pkgs.git

0 commit comments

Comments
 (0)