From 0c20360b62c20f0f5b21df03dea0427dabfbad1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 8 Jan 2022 10:23:29 +0000 Subject: [PATCH] add zig & nix support to vscode --- nixos/email-accounts.nix | 13 ++++++++----- nixos/gui/vscode.nix | 12 ++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/nixos/email-accounts.nix b/nixos/email-accounts.nix index 0fcfdab1..2ad90deb 100644 --- a/nixos/email-accounts.nix +++ b/nixos/email-accounts.nix @@ -9,7 +9,7 @@ in address = "cyplo@cyplo.dev"; aliases = [ "cyplo@cyplo.net" ]; realName = "Cyryl PÅ‚otnicki"; - userName = "cyplo"; + userName = "cyplo@cyplo.dev"; imap = { host = "127.0.0.1"; port = 1143; @@ -21,7 +21,10 @@ in smtp = { host = "127.0.0.1"; port = 1025; - tls.enable = false; + tls = { + enable = false; + useStartTls = false; + }; }; notmuch.enable = true; himalaya.enable = true; @@ -52,13 +55,13 @@ in }; home.packages = with pkgs; [ - hydroxide + unstable.protonmail-bridge ]; - systemd.user.services."hydroxide" = { + systemd.user.services."proton-bridge" = { Unit.Description = "Bridge to ProtonMail"; Install.WantedBy = [ "default.target" ]; - Service.ExecStart = "${unstable.hydroxide}/bin/hydroxide serve"; + Service.ExecStart = "${unstable.protonmail-bridge}/bin/protonmail-bridge --noninteractive"; }; }; diff --git a/nixos/gui/vscode.nix b/nixos/gui/vscode.nix index 1f82f6a4..7ace82fa 100644 --- a/nixos/gui/vscode.nix +++ b/nixos/gui/vscode.nix @@ -27,12 +27,24 @@ version = "1.21.7"; sha256 = "sha256-nCcDafZ2CUhTjVha+6Mjxoil61xMGboO5lajc7dGEJg="; } + { + publisher = "bbenoist"; + name = "nix"; + version = "1.0.1"; + sha256 = "sha256-qwxqOGublQeVP2qrLF94ndX/Be9oZOn+ZMCFX1yyoH0="; + } { publisher = "matklad"; name = "rust-analyzer"; version = "0.2.792"; sha256 = "sha256-OPSZ1sKVxgh8SN9UR8vtlICdznUXdaCkzNJBX5w1j9Q="; } + { + publisher = "tiehuis"; + name = "zig"; + version = "0.2.5"; + sha256 = "sha256-P8Sep0OtdchTfnudxFNvIK+SW++TyibGVI9zd+B5tu4="; + } { publisher = "sjhuangx"; name = "vscode-scheme";