mirror of
https://github.com/ivabus/nixos
synced 2024-11-24 01:15:06 +03:00
Nixfmt time
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
0d1f33efba
commit
1959f26e19
3 changed files with 7 additions and 10 deletions
|
@ -13,9 +13,7 @@ in {
|
|||
signing.key = "2F16FBF3262E090C";
|
||||
signing.signByDefault = true;
|
||||
package = pkgs.gitAndTools.gitFull;
|
||||
extraConfig = {
|
||||
core.editor = "nvim";
|
||||
};
|
||||
extraConfig = { core.editor = "nvim"; };
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ config, pkgs,... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
# Maybe I should rebase them to my own trusted location one day
|
||||
root_ca = pkgs.fetchurl {
|
||||
url = "https://gu-st.ru/content/lending/russian_trusted_root_ca_pem.crt";
|
||||
hash = "sha256-k2pD/qbo5SW8wPgazZw9IbT8S5torOp5BtaYAFr8ZQQ=";
|
||||
|
@ -9,6 +10,4 @@ let
|
|||
url = "https://gu-st.ru/content/lending/russian_trusted_sub_ca_pem.crt";
|
||||
hash = "sha256-8K5YnzZ3TynvNkj3mEsI1C/M5vH/7rYjbXc9rrJ0TqY=";
|
||||
};
|
||||
in {
|
||||
security.pki.certificateFiles = [ "${root_ca}" "${sub_ca}" ];
|
||||
}
|
||||
in { security.pki.certificateFiles = [ "${root_ca}" "${sub_ca}" ]; }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
in {
|
||||
|
||||
{
|
||||
options.my.features.secrets = lib.mkEnableOption "Enable secrets decrypting";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue