feat: add toggle to ssh

This commit is contained in:
Nydragon 2024-09-26 15:08:57 +02:00
parent fde8282dd6
commit 637e768561
Signed by: nydragon
SSH key fingerprint: SHA256:iQnIC12spf4QjWSbarmkD2No1cLMlu6TWoV7K6cYF5g
3 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,9 @@
{
{ lib, config, ... }:
let
inherit (lib) mkIf;
in
mkIf config.programs.ssh.enable {
programs.ssh = {
enable = true;
addKeysToAgent = "confirm";
matchBlocks = {
deck = {

View file

@ -19,6 +19,7 @@
programs = {
waybar.enable = true;
ssh.enable = true;
};
services = {

View file

@ -23,6 +23,7 @@
programs.direnv = {
enable = true;
nix-direnv.enable = true;
ssh.enable = true;
};
programs = {