summaryrefslogtreecommitdiff
path: root/home/config/environment.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2021-11-27 11:52:45 +0100
committerQuentin Aristote <quentin@aristote.fr>2021-11-27 11:52:45 +0100
commit097f3ab77a7a426ee50da48b7844493c4c836759 (patch)
tree6323e64edaf71bbe46604849ca37c4a93d964c4d /home/config/environment.nix
parent0994a9b432ef4cd72d4a531247e11ae0da1421a8 (diff)
have gpg-agent manage ssh keys
Diffstat (limited to 'home/config/environment.nix')
-rw-r--r--home/config/environment.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/home/config/environment.nix b/home/config/environment.nix
index e09dbc4..82b6a18 100644
--- a/home/config/environment.nix
+++ b/home/config/environment.nix
@@ -35,7 +35,8 @@
shellAliases = let nix-code-path = "~/code/nix";
in {
amimullvad = "curl -Ls https://am.i.mullvad.net/connected";
- nixos-update-config = "sudo cp -rf ${nix-code-path}/latitude-7490/nixos/ /etc/";
+ nixos-update-config =
+ "sudo cp -rf ${nix-code-path}/latitude-7490/nixos/ /etc/";
rm = "rm -f";
ssh = "TERM=xterm-256color ssh";
mkenv = ''
@@ -59,7 +60,10 @@
nix-direnv.enable = true;
};
- services.gpg-agent.enable = true;
+ services.gpg-agent = {
+ enable = true;
+ enableSshSupport = true;
+ };
home.file.".config/latexmkrc".source = ./dotfiles/latexmkrc;
}