Fixes for nix-on-droid profile

This commit is contained in:
Emmet 2024-06-24 09:38:05 -05:00
parent 8bd2e5942e
commit d5297c68f9
3 changed files with 21 additions and 8 deletions

View file

@ -153,8 +153,17 @@
};
};
nixOnDroidConfigurations = {
default = nix-on-droid.lib.nixOnDroidConfiguration {
modules = [ ./nix-on-droid.nix ];
inherit pkgs;
default = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
modules = [ ./profiles/nix-on-droid/configuration.nix ];
};
extraSpecialArgs = {
# pass config variables from above
inherit pkgs-stable;
inherit pkgs-emacs;
inherit systemSettings;
inherit userSettings;
inherit inputs;
};
};

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, pkgs-stable, pkgs-emacs, systemSettings, userSettings, inputs, ... }:
{
# Simply install just the packages
@ -47,5 +47,14 @@
useGlobalPkgs = true;
config = ./home.nix;
extraSpecialArgs = {
# pass config variables from above
inherit pkgs-stable;
inherit pkgs-emacs;
inherit systemSettings;
inherit userSettings;
inherit inputs;
};
};
}

View file

@ -1,11 +1,6 @@
{ config, pkgs, userSettings, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
home.username = userSettings.username;
home.homeDirectory = "/data/data/com.termux.nix/files/home";
programs.home-manager.enable = true;
imports = [