enable ssh agent
Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
parent
7367b2d1a5
commit
61b1399131
4 changed files with 15 additions and 4 deletions
|
@ -75,8 +75,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.loader.grub.enable = true;
|
boot = {
|
||||||
boot.loader.grub.device = "/dev/vda";
|
loader.grub.enable = true;
|
||||||
|
loader.grub.device = "/dev/vda";
|
||||||
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ config, ... }: {
|
{ config, ... }:
|
||||||
|
{
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
authKeyFile = config.sops.secrets."tailscale/auth".path;
|
authKeyFile = config.sops.secrets."tailscale/auth".path;
|
||||||
|
|
|
@ -324,4 +324,10 @@
|
||||||
services.udev.extraHwdb = ''
|
services.udev.extraHwdb = ''
|
||||||
SUBSYSTEM=="usb", SYSFS{idVendor}=="090c", SYSFS{idProduct}=="1000", ACTION=="add", GROUP="users", MODE="0664"
|
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;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ config, ... }: {
|
{ config, ... }:
|
||||||
|
{
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
authKeyFile = config.sops.secrets."tailscale/auth".path;
|
authKeyFile = config.sops.secrets."tailscale/auth".path;
|
||||||
|
|
Loading…
Add table
Reference in a new issue