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:
parent
11686d0192
commit
8b2e87c159
4 changed files with 17 additions and 8 deletions
|
|
@ -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; };
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue