Added common server attributes

This commit is contained in:
Serĉanto de Scio 2019-12-11 00:42:06 +10:00
parent 6a46666f1a
commit a99fd23960
Signed by: sercanto
GPG key ID: A4122FF3971B6865

19
roles/server_common.nix Normal file
View file

@ -0,0 +1,19 @@
# Configuration common to all my servers
{ config, pkgs, lib, ... }:
{
imports =
[
../roles/openssh.nix
../secrets/user-craige.nix
../secrets/user-root.nix
];
programs.mosh = {
enable = true;
withUtempter = true;
};
}