1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: run moodle-dl on toum, sshfs from wilde

This commit is contained in:
2020-10-31 20:52:10 +01:00
parent 77e97e84a9
commit 96f5d750ef
9 changed files with 144 additions and 26 deletions

View File

@@ -1,10 +1,6 @@
{ config, lib, pkgs, ... }:
let
inherit (import <niveum/lib>) sshPort;
kmeinKeys = lib.strings.splitString "\n" (lib.strings.fileContents (pkgs.fetchurl {
url = "https://github.com/kmein.keys";
sha256 = "1b9gbpgihg7zc89ivsz0gs3najp0zg53rcknvzvkm0851fdzkryx";
}));
inherit (import <niveum/lib>) sshPort kieran;
in
{
users.motd = "Welcome to ${config.networking.hostName}!";
@@ -16,5 +12,5 @@ in
forwardX11 = true;
};
users.users.root.openssh.authorizedKeys.keys = kmeinKeys;
users.users.root.openssh.authorizedKeys.keys = kieran.sshKeys pkgs;
}