l 2 downloading: allow login via ssh

This commit is contained in:
lassulus 2015-10-31 00:10:43 +01:00
parent db889e085d
commit 6bf12a65f5

View File

@ -1,5 +1,6 @@
{ config, pkgs, ... }: { config, lib, pkgs, ... }:
with lib;
{ {
imports = [ imports = [
../3modules/folderPerms.nix ../3modules/folderPerms.nix
@ -10,9 +11,13 @@
name = "download"; name = "download";
home = "/var/download"; home = "/var/download";
createHome = true; createHome = true;
useDefaultShell = true;
extraGroups = [ extraGroups = [
"download" "download"
]; ];
openssh.authorizedKeys.keys = map readFile [
../../krebs/Zpubkeys/lass.ssh.pub
];
}; };
transmission = { transmission = {