b447282c7a
* feat: add test node and spin up podman/cockpit * dev hack * bug: disable wayland temporarily #52 * feat: add nfs mount to nas * chore: add nas to sshconf * derp * hax * fix: hax * feat: firefox and gnome tweaks * chore: tweak nautilus --------- Co-authored-by: Truxnell <9149206+truxnell@users.noreply.github.com>
25 lines
394 B
Nix
25 lines
394 B
Nix
{ config
|
|
, pkgs
|
|
, lib
|
|
, ...
|
|
}:
|
|
with lib; let
|
|
cfg = config.myHome.security.ssh;
|
|
in
|
|
{
|
|
options.myHome.security.ssh = {
|
|
enable = mkEnableOption "ssh";
|
|
matchBlocks = mkOption {
|
|
type = types.attrs;
|
|
default = { };
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.ssh = {
|
|
inherit (cfg) matchBlocks;
|
|
enable = true;
|
|
# addKeysToAgent = "yes";
|
|
};
|
|
};
|
|
}
|