This commit is contained in:
John Lancaster
2026-03-25 18:07:19 -05:00
parent 2fad88f8a0
commit d8ced840ca
3 changed files with 2 additions and 30 deletions
-13
View File
@@ -21,18 +21,6 @@ in
type = lib.types.str;
default = "${stepFingerprint}";
};
rootCertFile = {
path = lib.mkOption {
type = lib.types.str;
description = "String path to where the root_ca.crt file will be stored for the user";
default = ".step/certs/root_ca.crt";
};
source = lib.mkOption {
type = lib.types.path;
description = "Nix path to the root cert file within the repo";
default = ../../keys/root_ca.crt;
};
};
provisioner = lib.mkOption {
type = lib.types.str;
default = "admin";
@@ -43,7 +31,6 @@ in
};
};
config = lib.mkIf cfg.enable {
home.file."${cfg.rootCertFile.path}".source = cfg.rootCertFile.source;
sops.secrets."janus/admin_jwk".mode = "0400";
home.packages = with pkgs; [
(writeShellScriptBin "sign-ssh-cert" ''