l 2 downloading: allow login via ssh
This commit is contained in:
parent
db889e085d
commit
6bf12a65f5
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue