fixes and extensions
This commit is contained in:
@@ -7,6 +7,21 @@
|
||||
policies = {
|
||||
BlockAboutConfig = true;
|
||||
DefaultDownloadDirectory = "\${home}/Downloads";
|
||||
ExtensionSettings = with builtins;
|
||||
let extension = shortId: uuid: {
|
||||
name = uuid;
|
||||
value = {
|
||||
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
|
||||
installation_mode = "normal_installed";
|
||||
};
|
||||
};
|
||||
in listToAttrs [
|
||||
(extension "ublock-origin" "uBlock0@raymondhill.net")
|
||||
(extension "tabliss" "extension@tabliss.io")
|
||||
(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
|
||||
(extension "keepassxc-browser" "keepassxc-browser@keepassxc.org")
|
||||
(extension "ghostery" "firefox@ghostery.com")
|
||||
];
|
||||
};
|
||||
|
||||
## Per-profile preferences
|
||||
@@ -41,14 +56,25 @@
|
||||
# Harden
|
||||
"privacy.trackingprotection.enabled" = true;
|
||||
"dom.security.https_only_mode" = true;
|
||||
};
|
||||
|
||||
# # Extensions
|
||||
# extensions = with pkgs.inputs.firefox-addons; [
|
||||
# ublock-origin
|
||||
# keepassxc-browser
|
||||
# ghostery
|
||||
# ];
|
||||
# Disable Pocket
|
||||
"extensions.pocket.enabled" = false;
|
||||
|
||||
# Disable telemetry
|
||||
"toolkit.telemetry.enabled" = false;
|
||||
|
||||
# Remove bookmarks toolbar
|
||||
"browser.toolbars.bookmarks.visibility" = "never";
|
||||
|
||||
# Restore session on startup
|
||||
"browser.startup.page" = 3;
|
||||
|
||||
# Automatically enable extensions
|
||||
"extensions.autoDisableScopes" = 0;
|
||||
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@@ -1,6 +1,22 @@
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
vscode
|
||||
flutter
|
||||
];
|
||||
{pkgs, ...}:
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
# QOL
|
||||
mhutchie.git-graph
|
||||
redhat.vscode-yaml
|
||||
github.copilot
|
||||
|
||||
# python
|
||||
ms-python.python
|
||||
ms-python.isort
|
||||
ms-python.debugpy
|
||||
ms-python.vscode-pylance
|
||||
|
||||
# Nix language
|
||||
jnoortheen.nix-ide
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{pkgs, ...}:
|
||||
{pkgs, lib, ...}:
|
||||
with lib.hm.gvariant;
|
||||
{
|
||||
## Gnome extensions
|
||||
@@ -72,43 +72,5 @@ with lib.hm.gvariant;
|
||||
show-windows-preview = true;
|
||||
};
|
||||
|
||||
dconf.settings."org/gnome/shell/extensions/space-iflow-randomwallpaper" = {
|
||||
auto-fetch = true;
|
||||
# TODO: make this user agnostic
|
||||
favorites-folder = "/home/remy/Pictures/wallpapers";
|
||||
hours = 12;
|
||||
minutes = 0;
|
||||
sources = [ "1725199048703" "1725199131523" ];
|
||||
|
||||
backend-connection = {
|
||||
backend-connection-available = true;
|
||||
clear-history = false;
|
||||
open-folder = false;
|
||||
pause-timer = false;
|
||||
request-new-wallpaper = false;
|
||||
};
|
||||
|
||||
sources = {
|
||||
general = {
|
||||
"1725199048703" = {
|
||||
name = "Reddit";
|
||||
type = 2;
|
||||
};
|
||||
"1725199131523" = {
|
||||
name = "Unsplash";
|
||||
};
|
||||
};
|
||||
reddit = {
|
||||
"1725199048703" = {
|
||||
allow-sfw = true;
|
||||
subreddits = "wallpaper,wallpapers,minimalwallpaper";
|
||||
};
|
||||
};
|
||||
unsplash = {
|
||||
"1725199131523" = {
|
||||
keyword = "minmal";
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
8
modules/home-manager/obsidian.nix
Normal file
8
modules/home-manager/obsidian.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{pkgs, ...}:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.obsidian
|
||||
];
|
||||
# obsidian options
|
||||
|
||||
}
|
6
modules/home-manager/quickshare.nix
Normal file
6
modules/home-manager/quickshare.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{pkgs, ...}:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.rquickshare
|
||||
];
|
||||
}
|
15
modules/home-manager/thunderbird.nix
Normal file
15
modules/home-manager/thunderbird.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{pkgs, ...}:
|
||||
{
|
||||
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
default.isDefault = true;
|
||||
};
|
||||
settings = {
|
||||
"privacy.donottrackheader.enabled" = true;
|
||||
# TODO
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user