diff --git a/common/git.nix b/common/git.nix index d2561e9..c5bb361 100644 --- a/common/git.nix +++ b/common/git.nix @@ -13,9 +13,7 @@ in { signing.key = "2F16FBF3262E090C"; signing.signByDefault = true; package = pkgs.gitAndTools.gitFull; - extraConfig = { - core.editor = "nvim"; - }; + extraConfig = { core.editor = "nvim"; }; }; }; }; diff --git a/common/russian-trusted-ca.nix b/common/russian-trusted-ca.nix index 6fcdd73..aa629c1 100644 --- a/common/russian-trusted-ca.nix +++ b/common/russian-trusted-ca.nix @@ -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 { 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}" ]; } diff --git a/features.nix b/features.nix index fe8bc04..25d5753 100644 --- a/features.nix +++ b/features.nix @@ -1,5 +1,5 @@ { lib, config, ... }: -let -in { + +{ options.my.features.secrets = lib.mkEnableOption "Enable secrets decrypting"; }