diff options
Diffstat (limited to 'modules/home')
| -rw-r--r-- | modules/home/browsers/zen.nix | 49 | ||||
| -rw-r--r-- | modules/home/comms/vesktop.nix | 8 |
2 files changed, 57 insertions, 0 deletions
diff --git a/modules/home/browsers/zen.nix b/modules/home/browsers/zen.nix new file mode 100644 index 0000000..9b2c24d --- /dev/null +++ b/modules/home/browsers/zen.nix @@ -0,0 +1,49 @@ + +{ self, inputs, ...}: { + + flake.homeModules.zen-browser = {pkgs, lib, ...}: let + zen = inputs.zen-browser.homeModules.beta; + in { + imports = [ zen ]; + + programs.zen-browser = { + enable = true; + setAsDefaultBrowser = true; + + policies = let + mkExtensionSettings = builtins.mapAttrs (_: pluginId: { + install_url = "https://addons.mozilla.org/firefox/downloads/latest/${pluginId}/latest.xpi"; + installation_mode = "force_installed"; + }); + in { + DisableAppUpdate = true; + DisableTelemetry = true; + DisablePocket = true; + + ExtensionSettings = mkExtensionSettings { + "uBlock0@raymondhill.net" = "ublock-origin"; + }; + + Preferences = { + "toolkit.legacyUserProfileCustomizations.stylesheets".Value = true; + }; + }; + + profiles.default = { + search = { + force = true; + default = "ddg"; + }; + + spacesForce = true; + spaces = { + "Main" = { + id = "5a9831d4-54f2-42c9-aed5-fb511fa7b3f0"; + position = 1000; + icon = "◯"; + }; + }; + }; + }; + }; +} diff --git a/modules/home/comms/vesktop.nix b/modules/home/comms/vesktop.nix new file mode 100644 index 0000000..ca08ad8 --- /dev/null +++ b/modules/home/comms/vesktop.nix @@ -0,0 +1,8 @@ +{ self, inputs, ... }: { + + flake.homeModules.vesktop = { pkgs, lib, ... }: { + programs.vesktop.enable = true; + programs.vesktop.vencord.settings.enabledThemes = [ "noctalia.theme.css" ]; + }; + +}
\ No newline at end of file |
