started configuring firefox
This commit is contained in:
parent
cd15174cd6
commit
dc4e826651
6 changed files with 79 additions and 10 deletions
18
flake.lock
generated
18
flake.lock
generated
|
|
@ -36,10 +36,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nur": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1701565337,
|
||||||
|
"narHash": "sha256-Ws3V2ymJ9fTl9VC0nOG766NTPDrcuAv5zUJzHkpecYA=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nur",
|
||||||
|
"rev": "910ea1ac6db158f066cb2f666fb9c86e3bea2051",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nur",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nur": "nur"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||||
home-manager.url = "github:nix-community/home-manager";
|
home-manager.url = "github:nix-community/home-manager";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
nur.url = "github:nix-community/nur";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
||||||
|
|
@ -41,7 +42,7 @@
|
||||||
|
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
till = home-manager.lib.homeManagerConfiguration {
|
till = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlay;
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
./home
|
./home
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
pictures = "${config.home.homeDirectory}/media/img";
|
pictures = "${config.home.homeDirectory}/media/img";
|
||||||
videos = "${config.home.homeDirectory}/media/vid";
|
videos = "${config.home.homeDirectory}/media/vid";
|
||||||
documents = "${config.home.homeDirectory}/misc";
|
documents = "${config.home.homeDirectory}/misc";
|
||||||
|
templates = "${config.xdg.dataHome}/templates";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.syncthing.enable = true;
|
services.syncthing.enable = true;
|
||||||
|
|
@ -62,7 +63,6 @@
|
||||||
khal
|
khal
|
||||||
khard
|
khard
|
||||||
taskopen
|
taskopen
|
||||||
gnome.gnome-sound-recorder
|
|
||||||
okular
|
okular
|
||||||
xournalpp
|
xournalpp
|
||||||
evolution
|
evolution
|
||||||
|
|
@ -120,6 +120,7 @@
|
||||||
./nvim
|
./nvim
|
||||||
./foot.nix
|
./foot.nix
|
||||||
./fish.nix
|
./fish.nix
|
||||||
|
./firefox.nix
|
||||||
./calendars
|
./calendars
|
||||||
./mail
|
./mail
|
||||||
./tex.nix
|
./tex.nix
|
||||||
|
|
@ -155,10 +156,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.firefox = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.taskwarrior = {
|
programs.taskwarrior = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dataLocation = "${config.xdg.dataHome}/taskwarrior/tasks";
|
dataLocation = "${config.xdg.dataHome}/taskwarrior/tasks";
|
||||||
|
|
|
||||||
55
home/firefox.nix
Normal file
55
home/firefox.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.firefox = {
|
||||||
|
enable = true;
|
||||||
|
# package = pkgs.firefox.override {
|
||||||
|
# cfg = {
|
||||||
|
# enableTridactylNative = true;
|
||||||
|
# enableKeePassXC = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
policies = {
|
||||||
|
DisableFirefoxAccounts = true;
|
||||||
|
DisablePocket = true;
|
||||||
|
DisableTelemetry = true;
|
||||||
|
DownloadDirectory = "${config.home.homeDirectory}/tmp";
|
||||||
|
EnableTrackingProtection = {
|
||||||
|
Value = true;
|
||||||
|
Cryptomining = true;
|
||||||
|
Fingerprinting = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
profiles = {
|
||||||
|
till = {
|
||||||
|
name = "till";
|
||||||
|
isDefault = true;
|
||||||
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
|
ublock-origin
|
||||||
|
linkhints
|
||||||
|
keepassxc-browser
|
||||||
|
];
|
||||||
|
extraConfig = ''
|
||||||
|
user_pref("browser.aboutConfig.showWarning", false);
|
||||||
|
user_pref("toolkit.telemetry.server", "");
|
||||||
|
user_pref("intl.accept_languages", "de-de,en-us,en");
|
||||||
|
user_pref("intl.regional_prefs.use_os_locales", true);
|
||||||
|
user_pref("media.eme.enabled", true);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
||||||
|
user_pref("extensions.pocket.enabled", true);
|
||||||
|
user_pref("privacy.annotate_channels.strict_list.enabled", true);
|
||||||
|
user_pref("privacy.globalprivacycontrol.enabled", true);
|
||||||
|
user_pref("privacy.donottrackheader.enabled", true);
|
||||||
|
user_pref("signon.rememberSignons", false);
|
||||||
|
user_pref("extensions.formautofill.creditCards.enabled", false);
|
||||||
|
user_pref("toolkit.telemetry.enabled", false);
|
||||||
|
user_pref("app.shield.optoutstudies.enabled", false);
|
||||||
|
user_pref("dom.security.https_only_mode", true);
|
||||||
|
user_pref("network.trr.custom_uri", "https://dns.quad9.net/dns-query ");
|
||||||
|
user_pref("network.trr.mode", 3);
|
||||||
|
user_pref("network.trr.uri", "https://dns.quad9.net/dns-query");
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
gnome-initial-setup
|
gnome-initial-setup
|
||||||
]);
|
]);
|
||||||
environment.systemPackages = with pkgs.gnome; [
|
environment.systemPackages = with pkgs.gnome; [
|
||||||
|
gnome-sound-recorder
|
||||||
gnome-tweaks
|
gnome-tweaks
|
||||||
gedit
|
gedit
|
||||||
gnome-boxes
|
gnome-boxes
|
||||||
|
|
|
||||||
|
|
@ -28,10 +28,9 @@ in
|
||||||
# /home/till/.local/share/Steam
|
# /home/till/.local/share/Steam
|
||||||
# /home/till/.cache
|
# /home/till/.cache
|
||||||
# /home/till/tmp
|
# /home/till/tmp
|
||||||
|
# /home/till/.mozilla/firefox/till/storage
|
||||||
# todo:
|
|
||||||
# /home/till/.mozilla/firefox
|
|
||||||
# /home/till/.config/Mattermost/Cache
|
# /home/till/.config/Mattermost/Cache
|
||||||
|
# /home/till/.config/Mattermost/Code\ Cache
|
||||||
|
|
||||||
fileSystems."/nix" = subvolume // {
|
fileSystems."/nix" = subvolume // {
|
||||||
options = [ "subvol=nix" "compress=zstd" "noatime" "discard=async" ];
|
options = [ "subvol=nix" "compress=zstd" "noatime" "discard=async" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue