1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-31 04:04:32 +00:00

Merge branch 'master' into feat-bat-shell-init

This commit is contained in:
Minh Tran 2025-03-28 16:08:15 +07:00 committed by GitHub
commit 84fb0f0e04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 7 deletions

6
flake.lock generated
View file

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1742422364,
"narHash": "sha256-mNqIplmEohk5jRkqYqG19GA8MbQ/D4gQSK0Mu4LvfRQ=",
"lastModified": 1742669843,
"narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc",
"rev": "1e5b653dff12029333a6546c11e108ede13052eb",
"type": "github"
},
"original": {

View file

@ -198,7 +198,7 @@ in {
# Still needs to be initialized after oh-my-zsh (order 800), otherwise
# omz will take precedence.
programs.zsh.initContent =
mkIf cfg.enableZshIntegration (mkOrder 810 zshIntegration);
mkIf cfg.enableZshIntegration (mkOrder 910 zshIntegration);
programs.fish.interactiveShellInit =
mkIf cfg.enableFishIntegration (mkOrder 200 fishIntegration);

View file

@ -212,9 +212,13 @@ in {
xdg.configFile = let
settings = {
"helix/config.toml" = mkIf (cfg.settings != { }) {
text =
builtins.readFile (tomlFormat.generate "helix-config" cfg.settings)
+ "\n" + cfg.extraConfig;
source = let
configFile = tomlFormat.generate "config.toml" cfg.settings;
extraConfigFile =
pkgs.writeText "extra-config.toml" ("\n" + cfg.extraConfig);
in pkgs.runCommand "helix-config.toml" { } ''
cat ${configFile} ${extraConfigFile} >> $out
'';
};
"helix/languages.toml" = mkIf (cfg.languages != { }) {
source = tomlFormat.generate "helix-languages-config" cfg.languages;

View file

@ -387,6 +387,8 @@ in {
attrsOf (submodule ({ config, ... }: {
config.thunderbird = {
settings = lib.mkIf (config.flavor == "gmail.com") (id: {
"mail.smtpserver.smtp_${id}.authMethod" =
mkOptionDefault 10; # 10 = OAuth2
"mail.server.server_${id}.authMethod" =
mkOptionDefault 10; # 10 = OAuth2
"mail.server.server_${id}.socketType" =