From 6e1f732397bd25f877e9740e81b3956b2cdadcff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Mon, 22 Jan 2024 10:45:29 +0100 Subject: [PATCH] fix(flake): Use github for home-manager Flakehub is out of date --- flake.lock | 17 +++++++++-------- flake.nix | 4 +++- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 6985cb3..e5ad36a 100644 --- a/flake.lock +++ b/flake.lock @@ -416,16 +416,17 @@ ] }, "locked": { - "lastModified": 1702537497, - "narHash": "sha256-br4Z7OFEHWN8oOnKf40BoS6QFt1EyVLqwaVGBG7/DT8=", - "rev": "7a88cdedbda35f808ed2f329a7a811e0511870f9", - "revCount": 3192, - "type": "tarball", - "url": "https://api.flakehub.com/f/pinned/nix-community/home-manager/0.1.3192%2Brev-7a88cdedbda35f808ed2f329a7a811e0511870f9/018c6725-7e9b-7e8e-bb57-f493c0e4f7dc/source.tar.gz" + "lastModified": 1705879479, + "narHash": "sha256-ZIohbyly1KOe+8I3gdyNKgVN/oifKdmeI0DzMfytbtg=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "2d47379ad591bcb14ca95a90b6964b8305f6c913", + "type": "github" }, "original": { - "type": "tarball", - "url": "https://flakehub.com/f/nix-community/home-manager/0.1.%2A.tar.gz" + "owner": "nix-community", + "repo": "home-manager", + "type": "github" } }, "jpassmenu": { diff --git a/flake.nix b/flake.nix index e303beb..16ca2af 100644 --- a/flake.nix +++ b/flake.nix @@ -23,7 +23,9 @@ inputs.nvim-config.inputs.home-manager.follows = "home-manager"; inputs.nvim-config.inputs.flake-schemas.follows = "flake-schemas"; - inputs.home-manager.url = "https://flakehub.com/f/nix-community/home-manager/0.1.*.tar.gz"; + # WARN: Flakehub is outdated (39 days out of date) + # inputs.home-manager.url = "https://flakehub.com/f/nix-community/home-manager/0.1.*.tar.gz"; + inputs.home-manager.url = "github:nix-community/home-manager"; inputs.home-manager.inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-schemas.url = "https://flakehub.com/f/DeterminateSystems/flake-schemas/*.tar.gz";