diff options
| author | adikro <adikro@disroot.org> | 2026-02-10 22:27:11 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-02-10 22:27:11 +0100 |
| commit | 233e5fb7d43a0736857ee6b9f74967f03b73837c (patch) | |
| tree | f46c2b13193e495d14502c6b9849482bce366ee3 /hm | |
| parent | 43f1d9649a8cf9043dee99a3e366534134aba57b (diff) | |
...
Diffstat (limited to 'hm')
| -rw-r--r-- | hm/conf/git.nix | 2 | ||||
| -rw-r--r-- | hm/soft/email.nix | 38 | ||||
| -rw-r--r-- | hm/soft/nixcord.nix | 13 |
3 files changed, 42 insertions, 11 deletions
diff --git a/hm/conf/git.nix b/hm/conf/git.nix index 09bd9e1..b297153 100644 --- a/hm/conf/git.nix +++ b/hm/conf/git.nix @@ -10,7 +10,7 @@ in lfs.enable = true; settings = { user.name = "adikro"; - user.email = "/run/secrets/git/email"; + user.email = "adikro@disroot.org"; init.defaultBranch = "main"; }; }; diff --git a/hm/soft/email.nix b/hm/soft/email.nix index d60f802..869c4ed 100644 --- a/hm/soft/email.nix +++ b/hm/soft/email.nix @@ -1,4 +1,9 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let cfg = config.hm.soft.email; in @@ -8,8 +13,37 @@ in evolution.enable = lib.mkEnableOption "evolution config"; }; config = lib.mkMerge [ + { + accounts.email.accounts.disroot = { + primary = true; + address = "adikro@disroot.org"; + userName = "adikro@disroot.org"; + realName = "adi"; + + imap = { + host = "disroot.org"; + port = 993; + tls.enable = true; + }; + smtp = { + host = "disroot.org"; + port = 465; + tls.enable = true; + }; + + thunderbird.enable = cfg.thunderbird.enable; + }; + } (lib.mkIf cfg.thunderbird.enable { - programs.thunderbird.enable = true; + programs.thunderbird = { + enable = true; + profiles.main = { + isDefault = true; + settings = { + "network.proxy.type" = 0; + }; + }; + }; }) (lib.mkIf cfg.evolution.enable { diff --git a/hm/soft/nixcord.nix b/hm/soft/nixcord.nix index e1345b2..52f6cd3 100644 --- a/hm/soft/nixcord.nix +++ b/hm/soft/nixcord.nix @@ -2,7 +2,6 @@ inputs, config, lib, - pkgs, ... }: let @@ -13,9 +12,6 @@ in options.hm.soft.nixcord.enable = lib.mkEnableOption "nixcord configuration"; config = lib.mkIf cfg.enable { - home.packages = with pkgs; [ - equibop - ]; programs.nixcord = { enable = true; discord = { @@ -25,11 +21,12 @@ in vencord.enable = false; equicord.enable = true; }; - # equibop = { - # enable = true; - # autoscroll.enable = true; - # }; + equibop = { + enable = true; + autoscroll.enable = true; + }; config = { + themeLinks = [ "https://raw.codeberg.page/AllPurposeMat/Disblock-Origin/DisblockOrigin.theme.css" ]; frameless = true; plugins = { ClearURLs.enable = true; |
