Closed jpentland closed 9 months ago
nix-on-droid has home-manager as input. If you want to use a different version than the version set in nix-on-droid, use inputs.home-manager.follows.. or provide the home-manager flake to the nixOnDroidConfiguration function call.
It is a similar behaviour like with nixpkgs.
If I comment out the lines:
#home-manager.url = "github:nix-community/home-manager/release-23.05";
#home-manager.inputs.nixpkgs.follows = "nixpkgs";
I am still getting the same issue.
my config is mostly default
Please check out the default flake home-manager config the flake offers, specifically inputs.nix-on-droid.inputs.home-manager.follows
:
https://github.com/nix-community/nix-on-droid/blob/039379abeee67144d4094d80bbdaf183fb2eabe5/templates/home-manager/flake.nix#L15
Copying this section in the inputs seems to have worked:
home-manager = {
url = "github:nix-community/home-manager/release-23.05";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-on-droid = {
url = "github:nix-community/nix-on-droid/release-23.05";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
I just installed nix-on-droid on my Pixel6, and used the "23.05" tarball.
When trying to run ```nix-on-droid switch -F ." i get the following error:
My config is mostly default, with home-manager added:
flake.nix
nix-on-droid.nix