Manage more zen settings via nix

e04163afd671… · Ryan Schanzenbacher ·

parent 2be2139465e3… diff

Changed files

diff --git a/home-config/nix-home-manager/home.nix b/home-config/nix-home-manager/home.nix
index 6ac9a1d..70f7f1c 100644
--- a/home-config/nix-home-manager/home.nix
+++ b/home-config/nix-home-manager/home.nix
@@ -61,6 +61,7 @@
programs.zen-browser = {
enable = true;
policies = import ./zenPolicies.nix;
+ profiles.default = import ./zenProfile.nix;
};
# The home.packages option allows you to install Nix packages into your
diff --git a/home-config/nix-home-manager/zenProfile.nix b/home-config/nix-home-manager/zenProfile.nix
new file mode 100644
index 0000000..e10cda6
--- /dev/null
+++ b/home-config/nix-home-manager/zenProfile.nix
@@ -0,0 +1,70 @@
+rec {
+ settings = {
+ "zen.welcome-screen.seen" = true;
+ "zen.urlbar.behavior" = "float";
+ "zen.view.compact.enable-at-startup"= true;
+ "zen.view.use-single-toolbar"= false;
+ "zen.view.window.scheme"= 0;
+ };
+
+ pinsForce = true;
+ pins = {
+ "Discord" = {
+ id = "59d28a80-d185-4dec-92cb-6da549cdfd27";
+ workspace = spaces."Personal".id;
+ url = "https://discord.com/channels/@me";
+ position = 101;
+ isEssential = true;
+ };
+ "RSS" = {
+ id = "0fa25825-01f2-49ce-b8a2-80f1100e782c";
+ workspace = spaces."Personal".id;
+ url = "https://rss.ryan77627.xyz";
+ position = 102;
+ isEssential = true;
+ };
+ };
+
+ spacesForce = true;
+ spaces = {
+ "Personal" = {
+ id = "2392f396-2548-4a20-9fb8-a3e940be4a58";
+ #icon = "";
+ position = 1000;
+ theme = {
+ type = "gradient";
+ colors = [
+ {
+ red = 199;
+ green = 161;
+ blue = 247;
+ algorithm = "complementary";
+ type = "explicit-lightness";
+ lightness = 80;
+ #isPrimary = true;
+ }
+ # {
+ # red = 157;
+ # green = 251;
+ # blue = 194;
+ # algorithm = "splitComplimentary";
+ # type = "explicit-lightness";
+ # lightness = 80;
+ # isPrimary = false;
+ # }
+ # {
+ # red = 161;
+ # green = 243;
+ # blue = 247;
+ # algorithm = "splitComplimentary";
+ # type = "explicit-lightness";
+ # lightness = 80;
+ # isPrimary = false;
+ # }
+ ];
+ opacity = 0.419;
+ texture = 0.3125;
+ };
+ };
+ };
+}