Home: Disable Firefox for Android.
This commit is contained in:
parent
a4a08dc7ef
commit
db9d6d82dc
|
@ -17,6 +17,7 @@ let
|
|||
stylix = import <config/Stylix.nix> args;
|
||||
android = import ./android args;
|
||||
package = import <package> args;
|
||||
programs = import ./program args;
|
||||
in
|
||||
# homePath = "/data/data/com.termux.nix/files/home";
|
||||
{
|
||||
|
@ -41,7 +42,7 @@ in
|
|||
sessionVariables = import ./variable args;
|
||||
stateVersion = const.droidStateVersion;
|
||||
};
|
||||
programs = import ./program args;
|
||||
programs = with programs; core;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ with lib;
|
|||
let
|
||||
cfg = config.home.hm;
|
||||
package = import <package> args;
|
||||
programs = import ./program args;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
|
@ -50,13 +51,18 @@ in
|
|||
sessionVariables = import ./variable args;
|
||||
};
|
||||
xdg = import ./xdg { inherit (cfg) homeDirectory; };
|
||||
programs = import ./program args;
|
||||
programs = with programs; core;
|
||||
dconf.settings = util.catSet (util.ls ./config/dconf) args;
|
||||
}
|
||||
(mkIf cfg.package.common.enable { home.packages = package.common; })
|
||||
(mkIf cfg.package.core.enable { home.packages = package.core; })
|
||||
(mkIf cfg.package.creative.enable { home.packages = package.creative; })
|
||||
(mkIf cfg.package.desktop.enable { home.packages = package.desktop; })
|
||||
(mkIf cfg.package.desktop.enable {
|
||||
home = {
|
||||
packages = package.desktop;
|
||||
programs = programs.desktop;
|
||||
};
|
||||
})
|
||||
(mkIf cfg.package.dev.enable { home.packages = package.dev; })
|
||||
(mkIf cfg.package.extra.enable { home.packages = package.extra; })
|
||||
(mkIf cfg.package.gaming.enable { home.packages = package.gaming; })
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.home.nixos;
|
||||
programs = import ./program args;
|
||||
in
|
||||
{
|
||||
imports = (util.ls ./user);
|
||||
|
@ -41,7 +42,7 @@ in
|
|||
extraActivationPath = with pkgs; [ openssh ];
|
||||
};
|
||||
xdg = import ./xdg { inherit (user) homeDirectory; };
|
||||
programs = import ./program args;
|
||||
programs = with programs; core // desktop;
|
||||
dconf.settings = util.catSet (util.ls ./config/dconf) args;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,24 +1,33 @@
|
|||
{ secret, ... }@args:
|
||||
{
|
||||
secret,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}@args:
|
||||
let
|
||||
bash = import ./bash args;
|
||||
in
|
||||
{
|
||||
home-manager.enable = true;
|
||||
core = {
|
||||
home-manager.enable = true;
|
||||
|
||||
gpg = {
|
||||
enable = true;
|
||||
inherit (secret.crypto) publicKeys;
|
||||
mutableKeys = true;
|
||||
mutableTrust = true;
|
||||
settings = {
|
||||
keyserver = "hkps://keys.openpgp.org";
|
||||
gpg = {
|
||||
enable = true;
|
||||
inherit (secret.crypto) publicKeys;
|
||||
mutableKeys = true;
|
||||
mutableTrust = true;
|
||||
settings = {
|
||||
keyserver = "hkps://keys.openpgp.org";
|
||||
};
|
||||
};
|
||||
|
||||
bash = {
|
||||
enable = true;
|
||||
initExtra = bash.bashrc;
|
||||
};
|
||||
};
|
||||
|
||||
firefox = import ./firefox args;
|
||||
|
||||
bash = {
|
||||
enable = true;
|
||||
initExtra = bash.bashrc;
|
||||
desktop = {
|
||||
firefox = import ./firefox args;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,7 +21,9 @@ let
|
|||
(mkSearchEngine "no" "NixOS Options" "https://search.nixos.org/options?query={searchTerms}")
|
||||
(mkSearchEngine "np" "NixOS Packages" "https://search.nixos.org/packages?query={searchTerms}")
|
||||
(mkSearchEngine "so" "Stack Overflow" "https://stackoverflow.com/search?tab=votes&q={searchTerms}")
|
||||
(mkSearchEngine "hm" "Home Manager" "https://home-manager-options.extranix.com/?query={searchTerms}")
|
||||
(mkSearchEngine "hm" "Home Manager"
|
||||
"https://home-manager-options.extranix.com/?query={searchTerms}"
|
||||
)
|
||||
];
|
||||
|
||||
extensions = {
|
||||
|
|
Loading…
Reference in a new issue