about summary refs log tree commit diff stats
path: root/home-manager/config/nheko/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/config/nheko/default.nix')
-rw-r--r--home-manager/config/nheko/default.nix60
1 files changed, 2 insertions, 58 deletions
diff --git a/home-manager/config/nheko/default.nix b/home-manager/config/nheko/default.nix
index c26a2a12..8557ac82 100644
--- a/home-manager/config/nheko/default.nix
+++ b/home-manager/config/nheko/default.nix
@@ -1,67 +1,11 @@
 {
   config,
-  pkgs,
-  lib,
-  nixosConfig,
+  osConfig,
   ...
 }: {
+  xdg.configFile."nheko/nheko.conf".source = config.lib.file.mkOutOfStoreSymlink osConfig.age.secrets.nheko.path;
   programs.nheko = {
     enable = true;
-    # settings = {
-    #      general.disable_certificate_validation = false;
-    #
-    #      auth = {
-    #        # TODO This saves the token world readable in the store, but I don't see a better option yet
-    #        #access_token = lib.replaceStrings ["\n"] [""] (builtins.readFile "${nixosConfig.age.secrets.nheko.path}");
-    #        device_id = "BAEZYLUEKE";
-    #        home_server = "https://matrix.sils.li:443";
-    #        user_id = "@@ene:sils.li";
-    #      };
-    #
-    #      settings.scale_factor = 1.0;
-    #
-    #      user = {
-    #        alert_on_notification = true;
-    #        animate_images_on_hover = true;
-    #        automatically_share_keys_with_trusted_users = false;
-    #        avatar_circles = true;
-    #        bubbles_enabled = false;
-    #        decrypt_notificatons = true;
-    #        decrypt_sidebar = true;
-    #        desktop_notifications = true;
-    #        emoji_font_family = "emoji";
-    #        expose_dbus_api = false;
-    #        fancy_effects = true;
-    #
-    #        font_family = "Source Code Pro";
-    #        font_size = 9;
-    #
-    #        group_view = true;
-    #        invert_enter_key = false;
-    #        markdown_enabled = true;
-    #        minor_events = true;
-    #        mobile_mode = false;
-    #        muted_tags = "global";
-    #        online_key_backup = true;
-    #        only_share_keys_with_verified_users = false;
-    #        open_image_external = false;
-    #        open_video_external = false;
-    #        presence = "AutomaticPresence";
-    #        privacy_screen = true;
-    #        privacy_screen_timeout = 0;
-    #        read_receipts = true;
-    #        small_avatars_enabled = false;
-    #        sort_by_unread = true;
-    #        space_notifications = true;
-    #        theme = "dark";
-    #        "timeline\\buttons" = true;
-    #        "timeline\\enlarge_emoji_only_msg" = false;
-    #        "timeline\\message_hover_highlight" = true;
-    #        typing_notifications = true;
-    #        use_identicon = true;
-    #        use_stun_server = false;
-    #      };
-    #    };
   };
 }
 # vim: ts=2