summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-31 00:10:43 +0100
committerlassulus <lass@aidsballs.de>2015-10-31 00:11:25 +0100
commit6bf12a65f534103771f51e74b7d750dd1ce42d29 (patch)
tree6d18ad86ccb415d98f46f9c045d839731b558658 /lass
parentdb889e085d8b4b15cab83116562085ab27bc0acb (diff)
l 2 downloading: allow login via ssh
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/downloading.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/lass/2configs/downloading.nix b/lass/2configs/downloading.nix
index 5052da5c8..b8b20d0ed 100644
--- a/lass/2configs/downloading.nix
+++ b/lass/2configs/downloading.nix
@@ -1,5 +1,6 @@
-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
+with lib;
{
imports = [
../3modules/folderPerms.nix
@@ -10,9 +11,13 @@
name = "download";
home = "/var/download";
createHome = true;
+ useDefaultShell = true;
extraGroups = [
"download"
];
+ openssh.authorizedKeys.keys = map readFile [
+ ../../krebs/Zpubkeys/lass.ssh.pub
+ ];
};
transmission = {