diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 12 | ||||
-rw-r--r-- | flake.lock | 66 | ||||
-rw-r--r-- | flake.nix | 1 |
4 files changed, 47 insertions, 33 deletions
diff --git a/.gitignore b/.gitignore index c4a847d9..eaa6f762 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /result +/override.nix diff --git a/README.md b/README.md new file mode 100644 index 00000000..3bbafa34 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# Secret Flake Setup + +Create `override.nix` like so, replacing the URL with the absolute path of the repo: + +```nix +{ + inputs.secrets.url = file:///full-path-to-this-repo/private; + outputs = { ... }@inputs: inputs.super; +} +``` + +Then, call `nix flake update --inputs-from override.nix` when updating flakes. diff --git a/flake.lock b/flake.lock index 6a2140b0..198c68ff 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1666614183, - "narHash": "sha256-R5+bCtUquwSfQmRBbCYc6FT6xtCaAebh0KE187e8458=", + "lastModified": 1673295039, + "narHash": "sha256-AsdYgE8/GPwcelGgrntlijMg4t3hLFJFCRF3tL5WVjA=", "owner": "lnl7", "repo": "nix-darwin", - "rev": "0f90e1c34caedd0bf765ebe47b92dd1ceffafcc8", + "rev": "87b9d090ad39b25b2400029c64825fc2a8868943", "type": "github" }, "original": { @@ -27,11 +27,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1666612413, - "narHash": "sha256-3K3PanV+pkixNo/sPN2YLGZffiQXcVAIGo2gaNDCWHs=", + "lastModified": 1678097883, + "narHash": "sha256-IG/v/syRMm0OLjT7F/naRjqN6bvAQEhlIlnS4U5y5EQ=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "5d838805ff6587d0b4eafae44c9ff74fc6beeca3", + "rev": "3f8a6436e158849050e711574a97126a6d3fec02", "type": "github" }, "original": { @@ -42,11 +42,11 @@ }, "flake-utils": { "locked": { - "lastModified": 1659877975, - "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "owner": "numtide", "repo": "flake-utils", - "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "type": "github" }, "original": { @@ -63,11 +63,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1666558342, - "narHash": "sha256-qiH0Zgig28yaSyebehrrYiX1y53Y/xFcQW+EFMRSVI0=", + "lastModified": 1677621055, + "narHash": "sha256-n3D/pZX0cYEpWKcLJSFImo5Dpk3D1RrxKVDmI6lnaIg=", "owner": "nix-community", "repo": "home-manager", - "rev": "186d9399f9eb64fb06ea4385732c1cf1624ae2b6", + "rev": "ef7d316578367ed7732a21eede6c79546a36124f", "type": "github" }, "original": { @@ -78,11 +78,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1665987993, - "narHash": "sha256-MvlaIYTRiqefG4dzI5p6vVCfl+9V8A1cPniUjcn6Ngc=", + "lastModified": 1677591639, + "narHash": "sha256-DMlAyge+u3K+JOFLA5YfdjqagdAYJf29YGBWpy5izg4=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "0e6593630071440eb89cd97a52921497482b22c6", + "rev": "77de4cd09db4dbee9551ed2853cfcf113d7dc5ce", "type": "github" }, "original": { @@ -93,25 +93,27 @@ }, "nixpkgs": { "locked": { - "lastModified": 1666603677, - "narHash": "sha256-apAEIj+z1iwMaMJ4tB21r/VTetfGDLDzuhXRHJknIAU=", + "lastModified": 1673540789, + "narHash": "sha256-xqnxBOK3qctIeUVxecydrEDbEXjsvHCPGPbvsl63M/U=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "074da18a72269cc5a6cf444dce42daea5649b2fe", + "rev": "0f213d0fee84280d8c3a97f7469b988d6fe5fcdf", "type": "github" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" } }, "nixpkgs_2": { "locked": { - "lastModified": 1666539104, - "narHash": "sha256-jeuC+d375wHHxMOFLgu7etseCQVJuPNKoEc9X9CsErg=", + "lastModified": 1677407201, + "narHash": "sha256-3blwdI9o1BAprkvlByHvtEm5HAIRn/XPjtcfiunpY7s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0e6df35f39651504249a05191f9a78d251707e22", + "rev": "7f5639fa3b68054ca0b062866dc62b22c3f11505", "type": "github" }, "original": { @@ -134,26 +136,26 @@ "secrets": { "flake": false, "locked": { - "lastModified": 1665956092, - "narHash": "sha256-ZyecxLG6j9OCID+Fgl8BSicnNAZ4r52soo6To3SmdDU=", + "lastModified": 1669361235, + "narHash": "sha256-FPoHoeccfiFTQZEFg5kTt3xxTHDGLiKqYyeiHfsJUv0=", "ref": "refs/heads/main", - "rev": "df8ea1205f29e94b2872fd4274a107e8c87318ac", - "revCount": 33, + "rev": "565513161c56d722a70234b74ef86748196682f2", + "revCount": 36, "type": "git", "url": "ssh://git.alanpearce.eu/nixfiles-private" }, "original": { - "type": "git", - "url": "ssh://git.alanpearce.eu/nixfiles-private" + "id": "secrets", + "type": "indirect" } }, "utils": { "locked": { - "lastModified": 1659877975, - "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "owner": "numtide", "repo": "flake-utils", - "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 4d30aaf4..1ccb92dd 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,6 @@ home-manager.inputs.nixpkgs.follows = "nixpkgs"; emacs-overlay.url = github:nix-community/emacs-overlay; secrets = { - url = git+ssh://git.alanpearce.eu/nixfiles-private; flake = false; }; }; |