summaryrefslogtreecommitdiffstats
path: root/common/ssh.nix
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2021-04-18 16:58:23 +0200
committerMinijackson <minijackson@riseup.net>2021-04-18 16:58:23 +0200
commit8ffe5ce23fa1548304a3fa25f2bd0e89837f5a0b (patch)
treecd0de6a4642b76b42002dae5291c307d30727bc6 /common/ssh.nix
parent46ac3d5464712d6b0e0bee4ac62543abcbf2db2c (diff)
downloadnixos-config-reborn-8ffe5ce23fa1548304a3fa25f2bd0e89837f5a0b.tar.gz
nixos-config-reborn-8ffe5ce23fa1548304a3fa25f2bd0e89837f5a0b.zip
revamp with nix flakes + desktop config
Diffstat (limited to 'common/ssh.nix')
-rw-r--r--common/ssh.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/common/ssh.nix b/common/ssh.nix
new file mode 100644
index 0000000..8bdabc2
--- /dev/null
+++ b/common/ssh.nix
@@ -0,0 +1,15 @@
1inputs:
2
3{ config, pkgs, modulesPath, lib, ... }:
4
5{
6 programs.gnupg.agent = {
7 enable = true;
8 enableSSHSupport = true;
9 };
10
11 services.openssh = {
12 enable = true;
13 passwordAuthentication = false;
14 };
15}