From f3a9f5da42ef59190de349dc1e5b7df34f8865c0 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sat, 17 Feb 2024 18:20:01 +0100 Subject: [PATCH] Home-manager follow nixpkgs --- flake.lock | 22 ++++------------------ flake.nix | 6 +++++- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/flake.lock b/flake.lock index b536f43..605e500 100644 --- a/flake.lock +++ b/flake.lock @@ -2,7 +2,9 @@ "nodes": { "home-manager": { "inputs": { - "nixpkgs": "nixpkgs" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { "lastModified": 1708031129, @@ -19,22 +21,6 @@ } }, "nixpkgs": { - "locked": { - "lastModified": 1707268954, - "narHash": "sha256-2en1kvde3cJVc3ZnTy8QeD2oKcseLFjYPLKhIGDanQ0=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "f8e2ebd66d097614d51a56a755450d4ae1632df1", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { "locked": { "lastModified": 1708118438, "narHash": "sha256-kk9/0nuVgA220FcqH/D2xaN6uGyHp/zoxPNUmPCMmEE=", @@ -53,7 +39,7 @@ "root": { "inputs": { "home-manager": "home-manager", - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs" } } }, diff --git a/flake.nix b/flake.nix index cc87d23..c35083f 100644 --- a/flake.nix +++ b/flake.nix @@ -7,7 +7,11 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - home-manager.url = "github:nix-community/home-manager"; + + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = inputs@{