flake.lock: update

firefox: update betterfox

tsuki: add bolt launcher

stylix: disable zellij

yuki: remove twitch miner

yuki: remove twitch miner

pgres: init ec db

yuki: bump docker versions

tsuki: disable waydroid

default: disable helix

default: update default editor

firefox: edit extensions

torrent: bump qbit

services: remove wlsunset
This commit is contained in:
notohh 2024-11-12 16:35:58 -05:00
parent 647a7f5af9
commit fa909a2d6f
Signed by: notohh
GPG key ID: BD47506D475EE86D
16 changed files with 3157 additions and 295 deletions

3334
flake.lock

File diff suppressed because it is too large Load diff

View file

@ -62,9 +62,7 @@
hyprpicker.url = "github:hyprwm/hyprpicker"; hyprpicker.url = "github:hyprwm/hyprpicker";
hyprpaper.url = "github:hyprwm/hyprpaper"; hyprpaper.url = "github:hyprwm/hyprpaper";
xdg-portal-hyprland.url = "github:hyprwm/xdg-desktop-portal-hyprland"; xdg-portal-hyprland.url = "github:hyprwm/xdg-desktop-portal-hyprland";
hyprsysteminfo.url = "github:hyprwm/hyprsysteminfo";
hyprsunset.url = "github:hyprwm/hyprsunset"; hyprsunset.url = "github:hyprwm/hyprsunset";
hyprpolkitagent.url = "github:hyprwm/hyprpolkitagent";
hyprland-plugins = { hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins"; url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland"; inputs.hyprland.follows = "hyprland";
@ -99,5 +97,9 @@
url = "github:nix-community/nixvim"; url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nezia-dotfiles = {
url = "github:nezia1/flocon";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
} }

View file

@ -3,7 +3,7 @@
programs.home-manager.enable = true; programs.home-manager.enable = true;
imports = [ imports = [
./programs/editors/helix # ./programs/editors/helix
./programs/editors/neovim ./programs/editors/neovim
./programs/terminal/lazygit ./programs/terminal/lazygit
./programs/terminal/nushell ./programs/terminal/nushell

View file

@ -13,7 +13,6 @@
../../programs/terminal/zellij ../../programs/terminal/zellij
../../programs/media/cava.nix ../../programs/media/cava.nix
../../programs/gtk.nix ../../programs/gtk.nix
../../programs/qt.nix
../../programs/mako.nix ../../programs/mako.nix
../../programs/media/spotify-player.nix ../../programs/media/spotify-player.nix
../../programs/media/zathura.nix ../../programs/media/zathura.nix
@ -28,7 +27,6 @@
technorino technorino
obsidian obsidian
signal-desktop signal-desktop
thunderbird
obs-studio obs-studio
pavucontrol pavucontrol
anki-bin anki-bin
@ -41,7 +39,7 @@
ffmpeg ffmpeg
rustypaste-cli rustypaste-cli
gimp gimp
cryptomator # cryptomator
ventoy-bin-full ventoy-bin-full
wine wine
bottles bottles
@ -49,11 +47,8 @@
lutris lutris
r2modman r2modman
moonlight-qt moonlight-qt
kitty inputs.nezia-dotfiles.packages.${pkgs.system}.bolt-launcher
waydroid
mousam
inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
inputs.hyprsysteminfo.packages.${pkgs.system}.default
inputs.hyprsunset.packages.${pkgs.system}.default inputs.hyprsunset.packages.${pkgs.system}.default
(callPackage ../../../pkgs/passgen {}) (callPackage ../../../pkgs/passgen {})
(callPackage ../../../pkgs/forex {}) (callPackage ../../../pkgs/forex {})

View file

@ -47,7 +47,6 @@
lazygit.enable = true; lazygit.enable = true;
nushell.enable = true; nushell.enable = true;
yazi.enable = true; yazi.enable = true;
zellij.enable = true;
bat.enable = true; bat.enable = true;
}; };
}; };

View file

@ -88,7 +88,6 @@
# security # security
bitwarden bitwarden
ublock-origin ublock-origin
canvasblocker
#leisure #leisure
darkreader darkreader
@ -98,11 +97,9 @@
#utility #utility
new-tab-override new-tab-override
libredirect
sponsorblock sponsorblock
return-youtube-dislikes return-youtube-dislikes
violentmonkey
#misc
]; ];
}; };
}; };

View file

@ -10,7 +10,7 @@
/**************************************************************************** /****************************************************************************
* Betterfox * * Betterfox *
* "Ad meliora" * * "Ad meliora" *
* version: 119 * * version: 131 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
****************************************************************************/ ****************************************************************************/
@ -37,26 +37,23 @@ user_pref("media.cache_resume_threshold", 3600);
user_pref("image.mem.decode_bytes_at_a_time", 32768); user_pref("image.mem.decode_bytes_at_a_time", 32768);
/** NETWORK ***/ /** NETWORK ***/
user_pref("network.buffer.cache.size", 262144);
user_pref("network.buffer.cache.count", 128);
user_pref("network.http.max-connections", 1800); user_pref("network.http.max-connections", 1800);
user_pref("network.http.max-persistent-connections-per-server", 10); user_pref("network.http.max-persistent-connections-per-server", 10);
user_pref("network.http.max-urgent-start-excessive-connections-per-host", 5); user_pref("network.http.max-urgent-start-excessive-connections-per-host", 5);
user_pref("network.http.pacing.requests.enabled", false); user_pref("network.http.pacing.requests.enabled", false);
user_pref("network.dnsCacheExpiration", 3600); user_pref("network.dnsCacheExpiration", 3600);
user_pref("network.dns.max_high_priority_threads", 8);
user_pref("network.ssl_tokens_cache_capacity", 10240); user_pref("network.ssl_tokens_cache_capacity", 10240);
/** SPECULATIVE LOADING ***/ /** SPECULATIVE LOADING ***/
user_pref("network.dns.disablePrefetch", true); user_pref("network.dns.disablePrefetch", true);
user_pref("network.dns.disablePrefetchFromHTTPS", true);
user_pref("network.prefetch-next", false); user_pref("network.prefetch-next", false);
user_pref("network.predictor.enabled", false); user_pref("network.predictor.enabled", false);
user_pref("network.predictor.enable-prefetch", false);
/** EXPERIMENTAL ***/ /** EXPERIMENTAL ***/
user_pref("layout.css.grid-template-masonry-value.enabled", true); user_pref("layout.css.grid-template-masonry-value.enabled", true);
user_pref("dom.enable_web_task_scheduling", true); user_pref("dom.enable_web_task_scheduling", true);
user_pref("layout.css.has-selector.enabled", true);
user_pref("dom.security.sanitizer.enabled", true);
/**************************************************************************** /****************************************************************************
* SECTION: SECUREFOX * * SECTION: SECUREFOX *
@ -71,12 +68,10 @@ user_pref(
"urlclassifier.features.socialtracking.skipURLs", "urlclassifier.features.socialtracking.skipURLs",
"*.instagram.com, *.twitter.com, *.twimg.com" "*.instagram.com, *.twitter.com, *.twimg.com"
); );
user_pref("network.cookie.sameSite.noneRequiresSecure", true);
user_pref("browser.download.start_downloads_in_tmp_dir", true); user_pref("browser.download.start_downloads_in_tmp_dir", true);
user_pref("browser.helperApps.deleteTempFileOnExit", true); user_pref("browser.helperApps.deleteTempFileOnExit", true);
user_pref("browser.uitour.enabled", false); user_pref("browser.uitour.enabled", false);
user_pref("privacy.globalprivacycontrol.enabled", true); user_pref("privacy.globalprivacycontrol.enabled", true);
user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
/** OCSP & CERTS / HPKP ***/ /** OCSP & CERTS / HPKP ***/
user_pref("security.OCSP.enabled", 0); user_pref("security.OCSP.enabled", 0);
@ -96,11 +91,13 @@ user_pref("browser.sessionstore.interval", 60000);
user_pref("privacy.history.custom", true); user_pref("privacy.history.custom", true);
/** SEARCH / URL BAR ***/ /** SEARCH / URL BAR ***/
user_pref("browser.urlbar.trimHttps", true);
user_pref("browser.urlbar.untrimOnUserInteraction.featureGate", true);
user_pref("browser.search.separatePrivateDefault.ui.enabled", true); user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
user_pref("browser.urlbar.update2.engineAliasRefresh", true); user_pref("browser.urlbar.update2.engineAliasRefresh", true);
user_pref("browser.search.suggest.enabled", false); user_pref("browser.search.suggest.enabled", false);
user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); user_pref("browser.urlbar.quicksuggest.enabled", false);
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); user_pref("browser.urlbar.groupLabels.enabled", false);
user_pref("browser.formfill.enable", false); user_pref("browser.formfill.enable", false);
user_pref("security.insecure_connection_text.enabled", true); user_pref("security.insecure_connection_text.enabled", true);
user_pref("security.insecure_connection_text.pbmode.enabled", true); user_pref("security.insecure_connection_text.pbmode.enabled", true);
@ -110,22 +107,17 @@ user_pref("network.IDN_show_punycode", true);
user_pref("dom.security.https_first", true); user_pref("dom.security.https_first", true);
/** PASSWORDS ***/ /** PASSWORDS ***/
user_pref("signon.rememberSignons", false);
user_pref("signon.formlessCapture.enabled", false); user_pref("signon.formlessCapture.enabled", false);
user_pref("signon.privateBrowsingCapture.enabled", false); user_pref("signon.privateBrowsingCapture.enabled", false);
user_pref("network.auth.subresource-http-auth-allow", 1); user_pref("network.auth.subresource-http-auth-allow", 1);
user_pref("editor.truncate_user_pastes", false); user_pref("editor.truncate_user_pastes", false);
/** ADDRESS + CREDIT CARD MANAGER ***/
user_pref("extensions.formautofill.addresses.enabled", false);
user_pref("extensions.formautofill.creditCards.enabled", false);
/** MIXED CONTENT + CROSS-SITE ***/ /** MIXED CONTENT + CROSS-SITE ***/
user_pref("security.mixed_content.block_display_content", true); user_pref("security.mixed_content.block_display_content", true);
user_pref("security.mixed_content.upgrade_display_content", true);
user_pref("security.mixed_content.upgrade_display_content.image", true);
user_pref("pdfjs.enableScripting", false); user_pref("pdfjs.enableScripting", false);
user_pref("extensions.postDownloadThirdPartyPrompt", false);
/** EXTENSIONS ***/
user_pref("extensions.enabledScopes", 5);
/** HEADERS / REFERERS ***/ /** HEADERS / REFERERS ***/
user_pref("network.http.referer.XOriginTrimmingPolicy", 2); user_pref("network.http.referer.XOriginTrimmingPolicy", 2);
@ -133,20 +125,12 @@ user_pref("network.http.referer.XOriginTrimmingPolicy", 2);
/** CONTAINERS ***/ /** CONTAINERS ***/
user_pref("privacy.userContext.ui.enabled", true); user_pref("privacy.userContext.ui.enabled", true);
/** WEBRTC ***/
user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
user_pref("media.peerconnection.ice.default_address_only", true);
/** SAFE BROWSING ***/ /** SAFE BROWSING ***/
user_pref("browser.safebrowsing.downloads.remote.enabled", false); user_pref("browser.safebrowsing.downloads.remote.enabled", false);
/** MOZILLA ***/ /** MOZILLA ***/
user_pref("permissions.default.desktop-notification", 2); user_pref("permissions.default.desktop-notification", 2);
user_pref("permissions.default.geo", 2); user_pref("permissions.default.geo", 2);
user_pref(
"geo.provider.network.url",
"https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"
);
user_pref("permissions.manager.defaultsUrl", ""); user_pref("permissions.manager.defaultsUrl", "");
user_pref("webchannel.allowObject.urlWhitelist", ""); user_pref("webchannel.allowObject.urlWhitelist", "");
@ -165,7 +149,6 @@ user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
user_pref("toolkit.telemetry.coverage.opt-out", true); user_pref("toolkit.telemetry.coverage.opt-out", true);
user_pref("toolkit.coverage.opt-out", true); user_pref("toolkit.coverage.opt-out", true);
user_pref("toolkit.coverage.endpoint.base", ""); user_pref("toolkit.coverage.endpoint.base", "");
user_pref("browser.ping-centre.telemetry", false);
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false); user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
user_pref("browser.newtabpage.activity-stream.telemetry", false); user_pref("browser.newtabpage.activity-stream.telemetry", false);
@ -202,28 +185,26 @@ user_pref(
false false
); );
user_pref("browser.preferences.moreFromMozilla", false); user_pref("browser.preferences.moreFromMozilla", false);
user_pref("browser.tabs.tabmanager.enabled", false);
user_pref("browser.aboutConfig.showWarning", false); user_pref("browser.aboutConfig.showWarning", false);
user_pref("browser.aboutwelcome.enabled", false); user_pref("browser.aboutwelcome.enabled", false);
user_pref("browser.profiles.enabled", true);
/** THEME ADJUSTMENTS ***/ /** THEME ADJUSTMENTS ***/
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
user_pref("browser.compactmode.show", true); user_pref("browser.compactmode.show", true);
user_pref("browser.display.focus_ring_on_anything", true);
user_pref("browser.display.focus_ring_style", 0);
user_pref("browser.display.focus_ring_width", 0);
user_pref("layout.css.prefers-color-scheme.content-override", 2);
user_pref("browser.privateWindowSeparation.enabled", false); // WINDOWS user_pref("browser.privateWindowSeparation.enabled", false); // WINDOWS
user_pref(
"browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled",
true
);
/** COOKIE BANNER HANDLING ***/ /** COOKIE BANNER HANDLING ***/
user_pref("cookiebanners.service.mode", 1); user_pref("cookiebanners.service.mode", 1);
user_pref("cookiebanners.service.mode.privateBrowsing", 1); user_pref("cookiebanners.service.mode.privateBrowsing", 1);
user_pref("cookiebanners.service.enableGlobalRules", true);
/** FULLSCREEN NOTICE ***/ /** FULLSCREEN NOTICE ***/
user_pref("full-screen-api.transition-duration.enter", "0 0"); user_pref("full-screen-api.transition-duration.enter", "0 0");
user_pref("full-screen-api.transition-duration.leave", "0 0"); user_pref("full-screen-api.transition-duration.leave", "0 0");
user_pref("full-screen-api.warning.delay", -1);
user_pref("full-screen-api.warning.timeout", 0); user_pref("full-screen-api.warning.timeout", 0);
/** URL BAR ***/ /** URL BAR ***/
@ -233,14 +214,13 @@ user_pref("browser.urlbar.trending.featureGate", false);
/** NEW TAB PAGE ***/ /** NEW TAB PAGE ***/
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
user_pref("browser.newtabpage.activity-stream.showWeather", false);
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
/*** POCKET ***/ /** POCKET ***/
user_pref("extensions.pocket.enabled", false); user_pref("extensions.pocket.enabled", false);
/** DOWNLOADS ***/ /** DOWNLOADS ***/
user_pref("browser.download.useDownloadDir", false);
user_pref("browser.download.always_ask_before_handling_new_types", true);
user_pref("browser.download.manager.addToRecentDocs", false); user_pref("browser.download.manager.addToRecentDocs", false);
/** PDF ***/ /** PDF ***/

View file

@ -21,7 +21,7 @@
MOZ_ENABLE_WAYLAND = "1"; MOZ_ENABLE_WAYLAND = "1";
XCURSOR_SIZE = "24"; XCURSOR_SIZE = "24";
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
EDITOR = "hx"; EDITOR = "nvim";
TERMINAL = "wezterm"; TERMINAL = "wezterm";
}; };
etc."greetd/environments".text = '' etc."greetd/environments".text = ''

View file

@ -1,11 +0,0 @@
_: {
services.wlsunset = {
enable = false;
latitude = "40.712776";
longitude = "-74.005974";
temperature = {
day = 6500;
night = 3200;
};
};
}

View file

@ -52,6 +52,10 @@
name = "atuin"; name = "atuin";
ensureDBOwnership = true; ensureDBOwnership = true;
} }
{
name = "ec";
ensureDBOwnership = true;
}
]; ];
ensureDatabases = [ ensureDatabases = [
"forgejo" "forgejo"
@ -62,6 +66,7 @@
"attic" "attic"
"miniflux" "miniflux"
"atuin" "atuin"
"ec"
]; ];
}; };
services.postgresqlBackup = { services.postgresqlBackup = {

View file

@ -17,7 +17,7 @@
extraOptions = ["--cap-add=NET_ADMIN"]; extraOptions = ["--cap-add=NET_ADMIN"];
}; };
qbittorrent = { qbittorrent = {
image = "linuxserver/qbittorrent@sha256:a4a72bd8e7891ec1ba01cfc5cfcb34b4d7b78c47a05ed8966cd18bd44a016894"; # v4.6.4 image = "linuxserver/qbittorrent@sha256:d01b1df556154862eca982d0f2c420073e2e2959c309951fbfddd25525ea28ce"; # v5.0.0
dependsOn = ["gluetun"]; dependsOn = ["gluetun"];
environment = { environment = {
PUID = "1001"; PUID = "1001";

View file

@ -19,7 +19,7 @@
virtualisation = { virtualisation = {
libvirtd.enable = true; libvirtd.enable = true;
waydroid.enable = true; waydroid.enable = false;
}; };
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;

View file

@ -7,11 +7,10 @@
./stash.nix ./stash.nix
./jellyfin.nix ./jellyfin.nix
./wallos.nix ./wallos.nix
./searxng.nix # ./searxng.nix
./anki-sync-server.nix ./anki-sync-server.nix
# ./paperless.nix # ./paperless.nix
# ./hydroxide.nix # ./hydroxide.nix
# ./twitch-miner.nix
./botoh.nix ./botoh.nix
]; ];
} }

View file

@ -2,7 +2,7 @@ _: let
storagePath = "/home/notoh/docker/stash"; storagePath = "/home/notoh/docker/stash";
in { in {
virtualisation.oci-containers.containers.stash = { virtualisation.oci-containers.containers.stash = {
image = "stashapp/stash@sha256:b2bfd8ddf706a69ea788e3ca9e6121cb35b9adb8a24c38fa9183cdeb8234c7da"; # v0.27.1 image = "stashapp/stash@sha256:28a04a0db254602c60af337e46770544f4b3f3e0cc0772603a673f6424336a61"; # v0.27.2
ports = ["9999:9999"]; ports = ["9999:9999"];
environment = { environment = {
STASH_STASH = "/data/"; STASH_STASH = "/data/";

View file

@ -1,12 +0,0 @@
_: {
virtualisation.oci-containers.containers.twitch-miner = {
image = "rdavidoff/twitch-channel-points-miner-v2@sha256:a344037ff4180fccc909ca398cc180a840ffd89f6af121789a58764a86769e58";
volumes = [
"/home/notoh/twitch-miner/analytics:/usr/src/app/analytics"
"/home/notoh/twitch-miner/cookies:/usr/src/app/cookie"
"/home/notoh/twitch-miner/logs:/usr/src/app/logs"
"/home/notoh/twitch-miner/run.py:/usr/src/app/run.py:ro"
];
ports = ["5000:5000"];
};
}

View file

@ -1,6 +1,6 @@
_: { _: {
virtualisation.oci-containers.containers.wallos = { virtualisation.oci-containers.containers.wallos = {
image = "bellamy/wallos@sha256:986f8ee1a780bd7f0069b71c52f698fd42ee202c3e33b61be336d4fd1194099d"; #v 2.19.3 image = "bellamy/wallos@sha256:12636976bd9edd52ea1d46f587430b48aa0fe2fed84866052f143ced879c5e72"; #v 2.35.0
ports = ["8282:80"]; ports = ["8282:80"];
volumes = [ volumes = [
"/home/notoh/docker/wallos/db:/var/www/html/db" "/home/notoh/docker/wallos/db:/var/www/html/db"