From 66da6d04fb7c395914efd8e3e156a3217529efc7 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Sun, 29 Mar 2026 16:38:02 +0300 Subject: [PATCH] add home manager input --- flake.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 6d87417..f09016b 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,15 @@ description = "A simple NixOS flake"; inputs = { - # NixOS official package source, using the nixos-25.11 branch here nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; + + home-manager = { + url = "github:nix-community/home-manager/release-25.11"; + # The `follows` keyword in inputs is used for inheritance. + # Here, `inputs.nixpkgs` of home-manager is kept consistent with + # the `inputs.nixpkgs` of the current flake, + # to avoid problems caused by different versions of nixpkgs. + inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { self, nixpkgs, ... }@inputs: {