emacs server

This commit is contained in:
Philipp Hochkamp 2022-09-05 21:30:29 +02:00
parent 8af7ea5958
commit 0378909589
4 changed files with 112 additions and 84 deletions

View file

@ -1,7 +1,7 @@
{ inputs, config, lib, pkgs, ... }:
{
home.stateVersion = lib.mkDefault "21.05";
home.stateVersion = lib.mkDefault "22.05";
home.packages = with pkgs; [
my.scripts
@ -46,34 +46,34 @@
};
programs = {
gpg = {
enable = true;
settings = {
cert-digest-algo = "SHA512";
charset = "utf-8";
default-preference-list = "SHA512 SHA384 SHA256 AES256 AES192 AES ZLIB BZIP2 ZIP Uncompressed";
auto-key-retrieve = true;
fixed-list-mode = true;
keyserver = "hkps://keyserver.ubuntu.com:443";
list-options = [ "show-uid-validity" "show-unusable-subkeys" ];
no-comments = true;
no-emit-version = true;
no-greeting = true;
no-symkey-cache = true;
personal-cipher-preferences = "AES256 AES192 AES";
personal-compress-preferences = "ZLIB BZIP2 ZIP Uncompressed";
personal-digest-preferences = "SHA512 SHA384 SHA256";
require-cross-certification = true;
s2k-cipher-algo = "AES256";
s2k-digest-algo = "SHA512";
throw-keyids = true;
use-agent = true;
verbose = true;
verify-options = "show-uid-validity";
with-fingerprint = true;
with-key-origin = true;
};
};
# gpg = {
# enable = true;
# settings = {
# cert-digest-algo = "SHA512";
# charset = "utf-8";
# default-preference-list = "SHA512 SHA384 SHA256 AES256 AES192 AES ZLIB BZIP2 ZIP Uncompressed";
# auto-key-retrieve = true;
# fixed-list-mode = true;
# keyserver = "hkps://keyserver.ubuntu.com:443";
# list-options = [ "show-uid-validity" "show-unusable-subkeys" ];
# no-comments = true;
# no-emit-version = true;
# no-greeting = true;
# no-symkey-cache = true;
# personal-cipher-preferences = "AES256 AES192 AES";
# personal-compress-preferences = "ZLIB BZIP2 ZIP Uncompressed";
# personal-digest-preferences = "SHA512 SHA384 SHA256";
# require-cross-certification = true;
# s2k-cipher-algo = "AES256";
# s2k-digest-algo = "SHA512";
# throw-keyids = true;
# use-agent = true;
# verbose = true;
# verify-options = "show-uid-validity";
# with-fingerprint = true;
# with-key-origin = true;
# };
# };
bat = {
enable = true;
config.theme = "gruvbox-dark";