Better org
This commit is contained in:
@@ -9,7 +9,7 @@ let
|
|||||||
homeModules = [
|
homeModules = [
|
||||||
./home/session.nix
|
./home/session.nix
|
||||||
./home/packages.nix
|
./home/packages.nix
|
||||||
./home/firefox.nix
|
./home/librewolf.nix
|
||||||
./home/git.nix
|
./home/git.nix
|
||||||
./home/gnome.nix
|
./home/gnome.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
{ pkgs, nur, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
programs.firefox = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.librewolf;
|
|
||||||
|
|
||||||
profiles.default = {
|
|
||||||
id = 0;
|
|
||||||
extensions = with nur.repos.rycee.firefox-addons; [
|
|
||||||
bitwarden
|
|
||||||
floccus
|
|
||||||
ublock-origin
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
43
modules/home/librewolf.nix
Normal file
43
modules/home/librewolf.nix
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.firefox = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.librewolf;
|
||||||
|
|
||||||
|
policies = {
|
||||||
|
DisableTelemetry = true;
|
||||||
|
DisableFirefoxStudies = true;
|
||||||
|
DisablePocket = true;
|
||||||
|
DisableFirefoxAccounts = true;
|
||||||
|
|
||||||
|
ExtensionSettings = {
|
||||||
|
# Bitwarden
|
||||||
|
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
|
||||||
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
|
||||||
|
installation_mode = "force_installed";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Floccus
|
||||||
|
"floccus@marcelklehr.de" = {
|
||||||
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/floccus/latest.xpi";
|
||||||
|
installation_mode = "force_installed";
|
||||||
|
};
|
||||||
|
|
||||||
|
# uBlock Origin
|
||||||
|
"uBlock0@raymondhill.net" = {
|
||||||
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||||
|
installation_mode = "force_installed";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# General Preferences
|
||||||
|
Preferences = {
|
||||||
|
"browser.startup.homepage" = "about:home";
|
||||||
|
"browser.toolbars.bookmarks.visibility" = "newtab";
|
||||||
|
"privacy.resistFingerprinting.letterboxing" = true;
|
||||||
|
"extensions.autoDisableScopes" = 0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -5,4 +5,18 @@
|
|||||||
BROWSER = "librewolf";
|
BROWSER = "librewolf";
|
||||||
SSH_AUTH_SOCK = "${config.home.homeDirectory}/.bitwarden-ssh-agent.sock";
|
SSH_AUTH_SOCK = "${config.home.homeDirectory}/.bitwarden-ssh-agent.sock";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.bash = {
|
||||||
|
enable = true;
|
||||||
|
initExtra = ''
|
||||||
|
export SSH_AUTH_SOCK="${config.home.homeDirectory}/.bitwarden-ssh-agent.sock"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
initContent = ''
|
||||||
|
export SSH_AUTH_SOCK="${config.home.homeDirectory}/.bitwarden-ssh-agent.sock"
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user