fix(droid): add environment.variables.FLAKE option
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-03-26 16:29:31 -04:00
parent cb77ae2c87
commit 411e682eaa

View file

@ -2,7 +2,7 @@
home-manager, home-manager,
nixpkgs, nixpkgs,
... ...
} @ inputs: { } @ inputs: rec {
extraSpecialArgs = inputs; extraSpecialArgs = inputs;
home-manager-path = home-manager.outPath; home-manager-path = home-manager.outPath;
pkgs = import nixpkgs { pkgs = import nixpkgs {
@ -11,6 +11,13 @@
}; };
modules = [ modules = [
{
options = with pkgs.lib; {
environment.variables.FLAKE = mkOption {
type = with types; nullOr str;
};
};
}
{home-manager.extraSpecialArgs = inputs;} {home-manager.extraSpecialArgs = inputs;}
../../common/nix-on-droid.nix ../../common/nix-on-droid.nix
./nix-on-droid.nix ./nix-on-droid.nix