feat: add home-manager directly in NixOS-95

For users that already use home-manager, this shouldn't change anything (they just have to pin the home-manager input to their own version).
However for users that currently do not use home-manager this will allow them to not care about it.

This way, home-manager will become an 'implementation detail'
This commit is contained in:
gytic 2025-08-21 10:26:55 +02:00
parent 11686d0192
commit 8b2e87c159
4 changed files with 17 additions and 8 deletions

View file

@ -3,10 +3,14 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, ... }: {
nixosModules.default = import ./nixos95;
outputs = { self, nixpkgs, home-manager,... }: {
nixosModules.default = import ./nixos95 { inherit home-manager; };
};
}