meli, davmai, healthreminder, update

This commit is contained in:
nx2
2024-03-21 09:27:43 +01:00
parent 23cc6752ab
commit 312a40351d
7 changed files with 72 additions and 14 deletions

View File

@@ -14,6 +14,8 @@
./system-modules/hsmw.nix
./system-modules/health_reminder.nix
./system-modules/davmail.nix
# ./system-modules/docker.nix
];
@@ -64,6 +66,10 @@
services.openssh.enable = false;
hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; #
services.blueman.enable = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
@@ -82,6 +88,7 @@
htop
direnv
openssl
blueman
];
fonts.packages = with pkgs; [

12
flake.lock generated
View File

@@ -23,11 +23,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1710162809,
"narHash": "sha256-i2R2bcnQp+85de67yjgZVvJhd6rRnJbSYNpGmB6Leb8=",
"lastModified": 1710838473,
"narHash": "sha256-RLvwdQSENKOaLdKhNie8XqHmTXzNm00/M/THj6zplQo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ddcd7598b2184008c97e6c9c6a21c5f37590b8d2",
"rev": "fa9f817df522ac294016af3d40ccff82f5fd3a63",
"type": "github"
},
"original": {
@@ -38,11 +38,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1710272261,
"narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
"lastModified": 1710806803,
"narHash": "sha256-qrxvLS888pNJFwJdK+hf1wpRCSQcqA6W5+Ox202NDa0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
"rev": "b06025f1533a1e07b6db3e75151caa155d1c7eb3",
"type": "github"
},
"original": {

View File

@@ -20,6 +20,7 @@
"discord"
"obsidian"
"zoom-us"
"zoom"
];
inecure-packages = [
"electron-25.9.0"

View File

@@ -7,15 +7,16 @@
pkgs.w3m
# (pkgs.writeScriptBin "mutt_oauth" (builtins.readFile ./mutt_oauth2.py))
(pkgs.writeScriptBin "meli_oauth2_gmail" (builtins.readFile ./oauth2.py))
];
home.file.".config/meli.config" = {
# home.file.".config/meli.config" = {
}
# };
}

View File

@@ -3,7 +3,7 @@
imports = [
./home-modules/vscode.nix
./home-modules/discord.nix
./home-modules/meli.nix
./home-modules/meli/meli.nix
# ./home-modules/mutt/neomutt.nix
./home-modules/gestures.nix
@@ -39,7 +39,7 @@
zathura
#vesktop
thunderbird element-desktop
# zoom-us
zoom-us
# vesktop
discord
signal-desktop
@@ -57,11 +57,14 @@
element sssnake pipes
nodejs
onnxruntime
(pkgs.python3.withPackages (python-pkgs: [
python-pkgs.pandas
python-pkgs.requests
python-pkgs.ipython
python-pkgs.pipdeptree
python-pkgs.requests
python-pkgs.onnxruntime
]))
(writeShellScriptBin "nxrbs-nix" ''
set -e

View File

@@ -0,0 +1,46 @@
{ config, lib, pkgs, user, allowed, secrets, ... }:
{
environment.systemPackages = with pkgs; [
davmail
];
services.davmail = {
enable = true;
url = "https://outlook.office365.com/EWS/Exchange.asmx";
config = {
davmail.server = true;
davmail.mode = "Auto";
davmail.defaultDomain = "phoenix-balkone.de";
davmail.url = "https://outlook.office365.com/EWS/Exchange.asmx";
davmail.ssl.nosecurecaldav = false;
davmail.ssl.nosecureimap = false;
davmail.ssl.nosecureldap = false;
davmail.ssl.nosecuresmtp = false;
davmail.imapPort = 60001;
davmail.smtpPort = 60002;
davmail.ldapPort = 60003;
davmail.caldavPort = 60004;
# davmail.popPort = ;
davmail.allowRemote = false;
davmail.bindAddress = "localhost";
davmail.disableUpdateCheck = true;
davmail.enableKeepAlive = true;
davmail.folderSizeLimit = 999;
davmail.imapAutoExpunge = true;
davmail.imapIdleDelay = 10;
davmail.keepDelay = 900;
davmail.sentKeepDelay = 90;
davmail.popMarkReadOnRetr = false;
davmail.smtpSaveInSent = true;
# davmail.logFilePath = "/var/log/davmail.log";
davmail.logFileSize = "1MB";
log4j.logger.davmail = "WARN";
log4j.rootLogger = "WARN";
davmail.disableGuiNotifications = false;
davmail.disableTrayActivitySwitch = false;
davmail.showStartupBanner = true;
davmail.enableKerberos = false;
};
};
}

View File

@@ -5,8 +5,8 @@
enable = true;
wantedBy = [ "timers.target" ];
timerConfig = {
OnBootSec = "5m";
OnUnitActiveSec = "5m";
OnBootSec = "10m";
OnUnitActiveSec = "10m";
Unit = "health_reminder.service";
};
};