mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
worked on librewolf config
This commit is contained in:
@@ -8,6 +8,7 @@ git clone https://github.com/Totorile1/nixos.git
|
|||||||
cd ./nixos
|
cd ./nixos
|
||||||
sudo nixos-rebuild switch --flake ~/nixos/#laptop
|
sudo nixos-rebuild switch --flake ~/nixos/#laptop
|
||||||
```
|
```
|
||||||
|
### Note
|
||||||
|
The only thing which I didn't find how to setup in a declarative way are librewolf's extension. You need to do it yourself
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ in
|
|||||||
"$term" = "kitty";
|
"$term" = "kitty";
|
||||||
"$editor" = "nvim";
|
"$editor" = "nvim";
|
||||||
"$file" = "nautilus";
|
"$file" = "nautilus";
|
||||||
"$browser" = "kitty --name \"Select LibreWolf profile\" --hold custom-librewolfprofiles";
|
"$browser" = "kitty --class \"custom-librewolfprofiles\" --name \"Select LibreWolf profile\" --hold custom-librewolfprofiles";
|
||||||
# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█
|
# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█
|
||||||
# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█
|
# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█
|
||||||
animations = {
|
animations = {
|
||||||
@@ -406,7 +406,8 @@ in
|
|||||||
"float,class:^(com.github.unrud.VideoDownloader)$" # VideoDownloader-Gkk
|
"float,class:^(com.github.unrud.VideoDownloader)$" # VideoDownloader-Gkk
|
||||||
"float,class:^(io.gitlab.adhami3310.Impression)$" # Impression-Gtk
|
"float,class:^(io.gitlab.adhami3310.Impression)$" # Impression-Gtk
|
||||||
"float,class:^(io.missioncenter.MissionCenter)$" # MissionCenter-Gtk
|
"float,class:^(io.missioncenter.MissionCenter)$" # MissionCenter-Gtk
|
||||||
"float,title:^(custom-librewolfprofiles)$"
|
"float,class:^(custom-librewolfprofiles)$"
|
||||||
|
"size 400 175, class:^(custom-librewolfprofiles)$"
|
||||||
# add a float for tomato when in kitty
|
# add a float for tomato when in kitty
|
||||||
#"plugin:imgborders:noimgborders, tag:noborder"
|
#"plugin:imgborders:noimgborders, tag:noborder"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -118,6 +118,8 @@
|
|||||||
};
|
};
|
||||||
policies = {
|
policies = {
|
||||||
ExtensionSettings = {
|
ExtensionSettings = {
|
||||||
|
# the extension id should be from the manifesto and not a random name.
|
||||||
|
# if you dont know it. Put a random name. It will fail. Go to about:polices#error and the error will give you the correct id.
|
||||||
"enhancerforyoutube@maximerf.addons.mozilla.org" = {
|
"enhancerforyoutube@maximerf.addons.mozilla.org" = {
|
||||||
installation_mode = "normal_installed";
|
installation_mode = "normal_installed";
|
||||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/enhancer-for-youtube/latest.xpi";
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/enhancer-for-youtube/latest.xpi";
|
||||||
@@ -128,7 +130,7 @@
|
|||||||
installation_mode = "force_installed";
|
installation_mode = "force_installed";
|
||||||
};
|
};
|
||||||
|
|
||||||
"AdNauseam@dhowe" = {
|
"adnauseam@rednoise.org" = {
|
||||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/adnauseam/latest.xpi";
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/adnauseam/latest.xpi";
|
||||||
installation_mode = "force_installed";
|
installation_mode = "force_installed";
|
||||||
};
|
};
|
||||||
@@ -136,15 +138,16 @@
|
|||||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||||
installation_mode = "blocked";
|
installation_mode = "blocked";
|
||||||
};
|
};
|
||||||
"Gruvbox@YeetFrog" = {
|
"{08d5243b-4236-4a27-984b-1ded22ce01c3}" = {
|
||||||
install_url = "https://addons.mozilla.org/firefox/downloads/file/3729287/gruvboxgruvboxgruvboxgruvboxgr-1.0.xpi";
|
install_url = "https://addons.mozilla.org/firefox/downloads/file/3729287/gruvboxgruvboxgruvboxgruvboxgr-1.0.xpi";
|
||||||
installation_mode = "force_installed";
|
installation_mode = "force_installed";
|
||||||
};
|
};
|
||||||
"TrackMeNot@DanielHowe" = {
|
"trackmenot@mrl.nyu.edu" = {
|
||||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/trackmenot/latest.xpi";
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/trackmenot/latest.xpi";
|
||||||
installation_mode = "force_installed";
|
installation_mode = "force_installed";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
DisableTelemetry = true;
|
DisableTelemetry = true;
|
||||||
DisableFirefoxStudies = true;
|
DisableFirefoxStudies = true;
|
||||||
EnableTrackingProtection = {
|
EnableTrackingProtection = {
|
||||||
@@ -174,6 +177,10 @@
|
|||||||
"amazondotcom-es".metaData.hidden = true;
|
"amazondotcom-es".metaData.hidden = true;
|
||||||
"bing".metaData.hidden = true;
|
"bing".metaData.hidden = true;
|
||||||
"ebay".metaData.hidden = true;
|
"ebay".metaData.hidden = true;
|
||||||
|
"metager".metaData.hidden = true;
|
||||||
|
"mojeek".metaData.hidden = true;
|
||||||
|
"seerex".metaData.hidden = true;
|
||||||
|
"perplexity".metaData.hidden = true;
|
||||||
"startpage" = {
|
"startpage" = {
|
||||||
urls = [
|
urls = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ custom-cat() {
|
|||||||
ls = "ls -hA -s --color";
|
ls = "ls -hA -s --color";
|
||||||
cat = "custom-cat";
|
cat = "custom-cat";
|
||||||
pomodoro = "kitty -e 'tomato'";
|
pomodoro = "kitty -e 'tomato'";
|
||||||
librewolf = "kitty --name \"Select LibreWolf profile\" --hold custom-librewolfprofiles";
|
librewolf = "kitty --class \"custom-librewolfprofiles\" --name \"Select LibreWolf profile\" --hold custom-librewolfprofiles";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user