mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Moved each virtualhost related to a service into that service file. Set up firefox syncserver. Moved to using home-manager to fully manage firefox profiles. Moved waybar into its own folder. Moved NUR into sources. Stopped using sources for arc's scream package, so on.
76 lines
2.1 KiB
Nix
76 lines
2.1 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
sources = import ../../../../nix/sources.nix;
|
|
unstable = import sources.nixpkgs-unstable { inherit (pkgs) config; };
|
|
nur = import sources.NUR { inherit pkgs; };
|
|
commonSettings = {
|
|
"app.update.auto" = false;
|
|
"identity.fxaccounts.account.device.name" = config.networking.hostName;
|
|
"signon.rememberSignons" = false;
|
|
"browser.urlbar.placeholderName" = "DuckDuckGo";
|
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
|
"identity.sync.tokenserver.uri" =
|
|
"https://sync.kittywit.ch/token/1.0/sync/1.5";
|
|
};
|
|
in {
|
|
home-manager.users.kat = {
|
|
programs.fish.shellAliases = {
|
|
ff-pm = "firefox --ProfileManager";
|
|
ff-main = "firefox -P main";
|
|
ff-work = "firefox -P work";
|
|
ff-lewd = "firefox -P lewd";
|
|
};
|
|
|
|
programs.firefox = {
|
|
enable = true;
|
|
extensions = with nur.repos.rycee.firefox-addons; [
|
|
auto-tab-discard
|
|
bitwarden
|
|
darkreader
|
|
decentraleyes
|
|
foxyproxy-standard
|
|
google-search-link-fix
|
|
https-everywhere
|
|
#old-reddit-redirect # made unnecessary due to tridactylrc
|
|
privacy-badger
|
|
reddit-enhancement-suite
|
|
refined-github
|
|
stylus
|
|
terms-of-service-didnt-read
|
|
tabcenter-reborn
|
|
tridactyl
|
|
ublock-origin
|
|
violentmonkey
|
|
];
|
|
profiles = {
|
|
main = {
|
|
id = 0;
|
|
isDefault = true;
|
|
settings = commonSettings // {
|
|
|
|
};
|
|
userChrome = import ./userChrome.css.nix { profile = "main"; };
|
|
};
|
|
work = {
|
|
id = 1;
|
|
settings = commonSettings // {
|
|
|
|
};
|
|
userChrome = import ./userChrome.css.nix { profile = "work"; };
|
|
};
|
|
lewd = {
|
|
id = 2;
|
|
settings = commonSettings // {
|
|
|
|
};
|
|
userChrome = import ./userChrome.css.nix { profile = "lewd"; };
|
|
};
|
|
};
|
|
package =
|
|
pkgs.wrapFirefox pkgs.firefox-unwrapped { forceWayland = true; };
|
|
};
|
|
|
|
home.file.".config/tridactyl/tridactylrc".source = ./tridactylrc;
|
|
};
|
|
}
|