summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-11-24 15:53:26 +0100
committerAlan Pearce2024-11-24 15:53:26 +0100
commit3dfd4ec43563cc71530f0787dd8ccbbb30963b99 (patch)
tree0ed443b6501076d4ba1d191d8892112fe0c3c9ca
parent6d328e5a274b58bd9a42ca7b4e26dc2fb64a5660 (diff)
downloadnixfiles-3dfd4ec43563cc71530f0787dd8ccbbb30963b99.tar.lz
nixfiles-3dfd4ec43563cc71530f0787dd8ccbbb30963b99.tar.zst
nixfiles-3dfd4ec43563cc71530f0787dd8ccbbb30963b99.zip
flake: use relative paths for submodules
-rw-r--r--flake.lock10
-rw-r--r--flake.nix3
2 files changed, 7 insertions, 6 deletions
diff --git a/flake.lock b/flake.lock
index fde21767..c1de03c1 100644
--- a/flake.lock
+++ b/flake.lock
@@ -1097,11 +1097,11 @@
         "rev": "8676655b28c94931c1ad2e443740341b348b056c",
         "revCount": 36,
         "type": "git",
-        "url": "file:///Users/alan/projects/alanpearce.eu/nixfiles/packages"
+        "url": "file:packages"
       },
       "original": {
         "type": "git",
-        "url": "https://git.alanpearce.eu/nix-packages"
+        "url": "file:packages"
       }
     },
     "pre-commit-hooks": {
@@ -1284,11 +1284,11 @@
         "rev": "8f05f9f611983d6375ec595a5f627d8e28c7e9a5",
         "revCount": 73,
         "type": "git",
-        "url": "file:///Users/alan/projects/alanpearce.eu/nixfiles/private"
+        "url": "file:private"
       },
       "original": {
-        "id": "secrets",
-        "type": "indirect"
+        "type": "git",
+        "url": "file:private"
       }
     },
     "simple-css": {
diff --git a/flake.nix b/flake.nix
index 7f6a2def..07188f43 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,12 +12,13 @@
     nh-darwin.url = "github:ToyVo/nh_darwin";
     secrets = {
       flake = false;
+      url = "git+file:private";
     };
     utils.url = "github:numtide/flake-utils";
     agenix.url = "github:ryantm/agenix";
     agenix.inputs.nixpkgs.follows = "nixpkgs";
     personal = {
-      url = "git+https://git.alanpearce.eu/nix-packages";
+      url = "git+file:packages";
       inputs.nixpkgs.follows = "nixpkgs";
     };
     searchix = {