enable ssh agent

Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
cy 2025-01-27 02:28:39 -05:00
parent 7367b2d1a5
commit 61b1399131
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
4 changed files with 15 additions and 4 deletions

View file

@ -75,8 +75,11 @@
};
};
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
boot = {
loader.grub.enable = true;
loader.grub.device = "/dev/vda";
kernelPackages = pkgs.linuxPackages_latest;
};
system.stateVersion = "24.05";

View file

@ -1,4 +1,5 @@
{ config, ... }: {
{ config, ... }:
{
services.tailscale = {
enable = true;
authKeyFile = config.sops.secrets."tailscale/auth".path;

View file

@ -324,4 +324,10 @@
services.udev.extraHwdb = ''
SUBSYSTEM=="usb", SYSFS{idVendor}=="090c", SYSFS{idProduct}=="1000", ACTION=="add", GROUP="users", MODE="0664"
'';
programs.ssh = {
askPassword = "${pkgs.seahorse}/libexec/seahorse/ssh-askpass";
startAgent = true;
enableAskPassword = true;
};
}

View file

@ -1,4 +1,5 @@
{ config, ... }: {
{ config, ... }:
{
services.tailscale = {
enable = true;
authKeyFile = config.sops.secrets."tailscale/auth".path;