Nixfmt time

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2024-01-07 14:26:33 +03:00
parent 0d1f33efba
commit 1959f26e19
No known key found for this signature in database
GPG key ID: 2F16FBF3262E090C
3 changed files with 7 additions and 10 deletions

View file

@ -13,9 +13,7 @@ in {
signing.key = "2F16FBF3262E090C"; signing.key = "2F16FBF3262E090C";
signing.signByDefault = true; signing.signByDefault = true;
package = pkgs.gitAndTools.gitFull; package = pkgs.gitAndTools.gitFull;
extraConfig = { extraConfig = { core.editor = "nvim"; };
core.editor = "nvim";
};
}; };
}; };
}; };

View file

@ -1,6 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
# Maybe I should rebase them to my own trusted location one day
root_ca = pkgs.fetchurl { root_ca = pkgs.fetchurl {
url = "https://gu-st.ru/content/lending/russian_trusted_root_ca_pem.crt"; url = "https://gu-st.ru/content/lending/russian_trusted_root_ca_pem.crt";
hash = "sha256-k2pD/qbo5SW8wPgazZw9IbT8S5torOp5BtaYAFr8ZQQ="; hash = "sha256-k2pD/qbo5SW8wPgazZw9IbT8S5torOp5BtaYAFr8ZQQ=";
@ -9,6 +10,4 @@ let
url = "https://gu-st.ru/content/lending/russian_trusted_sub_ca_pem.crt"; url = "https://gu-st.ru/content/lending/russian_trusted_sub_ca_pem.crt";
hash = "sha256-8K5YnzZ3TynvNkj3mEsI1C/M5vH/7rYjbXc9rrJ0TqY="; hash = "sha256-8K5YnzZ3TynvNkj3mEsI1C/M5vH/7rYjbXc9rrJ0TqY=";
}; };
in { in { security.pki.certificateFiles = [ "${root_ca}" "${sub_ca}" ]; }
security.pki.certificateFiles = [ "${root_ca}" "${sub_ca}" ];
}

View file

@ -1,5 +1,5 @@
{ lib, config, ... }: { lib, config, ... }:
let
in { {
options.my.features.secrets = lib.mkEnableOption "Enable secrets decrypting"; options.my.features.secrets = lib.mkEnableOption "Enable secrets decrypting";
} }