diff --git a/machines/T420-Laptop/default.nix b/machines/T420-Laptop/default.nix index 0d37b7e..5885248 100644 --- a/machines/T420-Laptop/default.nix +++ b/machines/T420-Laptop/default.nix @@ -2,8 +2,8 @@ imports = with inputs.self.nixosModules; [ ./hardware-configuration.nix inputs.self.nixosProfiles.base - gitea - jitsi + # gitea + # jitsi mailserver matrix-synapse minidlna diff --git a/modules/applications/emacs/default.nix b/modules/applications/emacs/default.nix index 76eae81..3b9428c 100644 --- a/modules/applications/emacs/default.nix +++ b/modules/applications/emacs/default.nix @@ -1,4 +1,9 @@ { pkgs, config, lib, ... }: { + # secrets-envsubst.emacs = { + # owner = "balsoft:users"; + # directory = "emacs"; + # }; + home-manager.users.balsoft = { programs.emacs = { enable = true; @@ -50,6 +55,7 @@ edit-indirect idris-mode lsp-mode + org-caldav ]; }; diff --git a/modules/applications/emacs/init.el b/modules/applications/emacs/init.el index babc0ac..d5085dc 100755 --- a/modules/applications/emacs/init.el +++ b/modules/applications/emacs/init.el @@ -229,4 +229,12 @@ If point was already at that position, move point to beginning of line." :server-id 'nix)) ) + +(use-package org-caldav + :config + (setq org-caldav-url "https://nextcloud.balsoft.ru/remote.php/dav/calendars/balsoft") + (setq org-caldav-calendar-id "work") + (setq org-caldav-inbox "/home/balsoft/Documents/Work/calendar.org") + (setq org-icalendar-timezone "Europe/Moscow") + ) ;;; init.el ends here