expose 1password SSH key password to batou
This commit is contained in:
parent
09cad34457
commit
68ccdd1b00
|
@ -127,6 +127,7 @@ let
|
||||||
#myNur.lolcommits # from NUR
|
#myNur.lolcommits # from NUR
|
||||||
jq
|
jq
|
||||||
age
|
age
|
||||||
|
_1password
|
||||||
];
|
];
|
||||||
|
|
||||||
nixHelpers = [
|
nixHelpers = [
|
||||||
|
@ -285,6 +286,10 @@ in
|
||||||
++ macosTools
|
++ macosTools
|
||||||
;
|
;
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
|
"1password-cli"
|
||||||
|
];
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
#programs.home-manager.path = "$HOME/.nix-defexpr/channels/home-manager";
|
#programs.home-manager.path = "$HOME/.nix-defexpr/channels/home-manager";
|
||||||
home.stateVersion = "22.05";
|
home.stateVersion = "22.05";
|
||||||
|
@ -478,5 +483,6 @@ in
|
||||||
};
|
};
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
|
BATOU_AGE_IDENTITY_PASSPHRASE="op://Private/SSH key/password";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue