mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Fixes for nix-on-droid profile
This commit is contained in:
parent
8bd2e5942e
commit
d5297c68f9
13
flake.nix
13
flake.nix
|
@ -153,8 +153,17 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixOnDroidConfigurations = {
|
nixOnDroidConfigurations = {
|
||||||
default = nix-on-droid.lib.nixOnDroidConfiguration {
|
inherit pkgs;
|
||||||
modules = [ ./nix-on-droid.nix ];
|
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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, pkgs-stable, pkgs-emacs, systemSettings, userSettings, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Simply install just the packages
|
# Simply install just the packages
|
||||||
|
@ -47,5 +47,14 @@
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
|
||||||
config = ./home.nix;
|
config = ./home.nix;
|
||||||
|
|
||||||
|
extraSpecialArgs = {
|
||||||
|
# pass config variables from above
|
||||||
|
inherit pkgs-stable;
|
||||||
|
inherit pkgs-emacs;
|
||||||
|
inherit systemSettings;
|
||||||
|
inherit userSettings;
|
||||||
|
inherit inputs;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
{ config, pkgs, userSettings, ... }:
|
{ 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;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
Loading…
Reference in a new issue