make home-manager optional

As the home-manager depends on the actual used nixpkgs version
and is not always used, remove it from the base dependencies but
use still use it implictely if a home-manager input exists.
This commit is contained in:
Jonas Rabenstein 2025-11-26 02:50:41 +01:00
commit e2bfb0949a
3 changed files with 7 additions and 29 deletions

View file

@ -2,10 +2,6 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
hardware.url = "github:nixos/nixos-hardware";
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, ... }@inputs: import ./lib/flake.nix inputs ./.;