summaryrefslogtreecommitdiff
path: root/users/ryan/zen
diff options
context:
space:
mode:
Diffstat (limited to 'users/ryan/zen')
-rw-r--r--users/ryan/zen/zenPolicies.nix127
-rw-r--r--users/ryan/zen/zenProfile.nix71
2 files changed, 198 insertions, 0 deletions
diff --git a/users/ryan/zen/zenPolicies.nix b/users/ryan/zen/zenPolicies.nix
new file mode 100644
index 0000000..1fbb5e1
--- /dev/null
+++ b/users/ryan/zen/zenPolicies.nix
@@ -0,0 +1,127 @@
1let
2 lock-false = {
3 Value = false;
4 Status = "locked";
5 };
6 lock-true = {
7 Value = true;
8 Status = "locked";
9 };
10in
11{
12 EnableTrackingProtection = {
13 Value = true;
14 Locked = true;
15 Cryptomining = true;
16 Fingerprinting = true;
17 EmailTracking = true;
18 };
19 UserMessaging = {
20 WhatsNew = false;
21 ExtensionRecommendations = false;
22 FeatureRecommendations = false;
23 UrlbarInterventions = false;
24 SkipOnboarding = true;
25 MoreFromMozilla = false;
26 Labs = false;
27 Locked = true;
28 };
29 DisableAppUpdate = true;
30 DisableAccounts = true;
31 DisableFirefoxAccounts = true;
32 DisableFirefoxStudies = true;
33 DisablePocket = true;
34 DisableTelemetry = true;
35 AutofillAddressEnabled = false;
36 AutofillCreditCardEnabled = false;
37 DisableMasterPasswordCreation = true;
38 PasswordManagerEnabled = false;
39 PrimaryPassword = false;
40 OfferToSaveLogins = false;
41 NoDefaultBookmarks = true;
42 OverrideFirstRunPage = "";
43 OverridePostUpdatePage = "";
44 FirefoxHome = {
45 Search = true;
46 TopSites = true;
47 SponsoredTopSites = false;
48 Highlights = false;
49 Pocket = false;
50 SponsoredPocket = false;
51 Snippets = false;
52 Locked = true;
53 };
54 SearchSuggestEnabled = true;
55 FirefoxSuggest = {
56 WebSuggestions = true;
57 SponsoredSuggestions = false;
58 ImproveSuggest = false;
59 Locked = true;
60 };
61 PictureInPicture = lock-true;
62 HardwareAcceleration = true;
63 Certificates = {
64 ImportEnterpriseRoots = true;
65 };
66 ExtensionSettings = {
67 #"*".installation_mode = "blocked";
68 # uBlock Origin
69 "uBlock0@raymondhill.net" = {
70 install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
71 installation_mode = "force_installed";
72 private_browsing = true;
73 };
74 # Bitwarden
75 "{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
76 install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
77 installation_mode = "normal_installed";
78 private_browsing = true;
79 };
80 # SponsorBlock
81 "sponsorBlocker@ajay.app" = {
82 install_url = "https://addons.mozilla.org/firefox/downloads/latest/sponsorblock/latest.xpi";
83 installation_mode = "force_installed";
84 };
85 # DeArrow
86 "deArrow@ajay.app" = {
87 install_url = "https://addons.mozilla.org/firefox/downloads/latest/dearrow/latest.xpi";
88 installation_mode = "force_installed";
89 };
90 # Return Youtube Dislike
91 "{762f9885-5a13-4abd-9c77-433dcd38b8fd}" = {
92 install_url = "https://addons.mozilla.org/firefox/downloads/latest/return-youtube-dislikes/latest.xpi";
93 installation_mode = "force_installed";
94 };
95 # Youtube Nonstop
96 "{0d7cafdd-501c-49ca-8ebb-e3341caaa55e}" = {
97 install_url = "https://addons.mozilla.org/firefox/downloads/latest/youtube-nonstop/latest.xpi";
98 installation_mode = "force_installed";
99 };
100 # TamperMonkey
101 "firefox@tampermonkey.net" = {
102 install_url = "https://addons.mozilla.org/firefox/downloads/latest/tampermonkey/latest.xpi";
103 installation_mode = "force_installed";
104 };
105 # Floccus
106 "floccus@handmadeideas.org" = {
107 install_url = "https://addons.mozilla.org/firefox/downloads/latest/floccus/latest.xpi";
108 installation_mode = "force_installed";
109 };
110 # Mailvelope
111 "jid1-AQqSMBYb0a8ADg@jetpack" = {
112 install_url = "https://addons.mozilla.org/firefox/downloads/latest/mailvelope/latest.xpi";
113 installation_mode = "force_installed";
114 };
115 };
116 Preferences = {
117 "xpinstall.whitelist.required" = lock-true;
118 "dom.webgpu.enabled" = lock-true;
119 "media.eme.enabled" = lock-true;
120 "general.autoScroll" = lock-true;
121 "general.smoothScroll" = lock-true;
122 "browser.crashReports.unsubmittedCheck.autoSubmit2" = lock-false;
123 "browser.aboutConfig.showWarning" = lock-false;
124 "media.videocontrols.picture-in-picture.enable-when-switching-tabs.enabled" = lock-true;
125 };
126}
127
diff --git a/users/ryan/zen/zenProfile.nix b/users/ryan/zen/zenProfile.nix
new file mode 100644
index 0000000..d77a906
--- /dev/null
+++ b/users/ryan/zen/zenProfile.nix
@@ -0,0 +1,71 @@
1rec {
2 settings = {
3 "zen.welcome-screen.seen" = true;
4 "zen.urlbar.behavior" = "float";
5 "zen.view.compact.enable-at-startup"= true;
6 "zen.view.use-single-toolbar"= false;
7 "zen.view.window.scheme"= 0;
8 };
9
10 pinsForce = true;
11 pins = {
12 "Discord" = {
13 id = "59d28a80-d185-4dec-92cb-6da549cdfd27";
14 workspace = spaces."Personal".id;
15 url = "https://discord.com/channels/@me";
16 position = 101;
17 isEssential = true;
18 };
19 "RSS" = {
20 id = "0fa25825-01f2-49ce-b8a2-80f1100e782c";
21 workspace = spaces."Personal".id;
22 url = "https://rss.ryan77627.xyz";
23 position = 102;
24 isEssential = true;
25 };
26 };
27
28 spacesForce = true;
29 spaces = {
30 "Personal" = {
31 id = "2392f396-2548-4a20-9fb8-a3e940be4a58";
32 #icon = "";
33 position = 1000;
34 theme = {
35 type = "gradient";
36 colors = [
37 {
38 red = 199;
39 green = 161;
40 blue = 247;
41 algorithm = "complementary";
42 type = "explicit-lightness";
43 lightness = 80;
44 #isPrimary = true;
45 }
46 # {
47 # red = 157;
48 # green = 251;
49 # blue = 194;
50 # algorithm = "splitComplimentary";
51 # type = "explicit-lightness";
52 # lightness = 80;
53 # isPrimary = false;
54 # }
55 # {
56 # red = 161;
57 # green = 243;
58 # blue = 247;
59 # algorithm = "splitComplimentary";
60 # type = "explicit-lightness";
61 # lightness = 80;
62 # isPrimary = false;
63 # }
64 ];
65 opacity = 0.419;
66 texture = 0.3125;
67 };
68 };
69 };
70}
71