37 lines
771 B
Nix
37 lines
771 B
Nix
{pkgs, ...}:{
|
|
imports = [
|
|
./boot.nix
|
|
./hardware-configuration.nix
|
|
|
|
#../../modules/hosting/wordpress-simple/kiezpalme.nix
|
|
#../../modules/hosting/wordpress-simple/pertineo.nix
|
|
../../modules/hosting/wordpress.nix
|
|
../../modules/sec_auth/ssh-server.nix
|
|
|
|
../../system_profiles/server.nix
|
|
];
|
|
|
|
#services.mysql = {
|
|
# enable = true;
|
|
# package = pkgs.mariadb;
|
|
#};
|
|
|
|
services.cWordpress."example-site" = {
|
|
enable = true;
|
|
sitePort = 80;
|
|
};
|
|
|
|
services.cWordpress."example-site2" = {
|
|
enable = true;
|
|
sitePort = 81;
|
|
};
|
|
|
|
services.openssh.ports = [11522];
|
|
users = let
|
|
username = "root";
|
|
in {
|
|
users."${username}".openssh.authorizedKeys.keyFiles = [
|
|
../../certificates/id_ed25519_ext-julia.pub
|
|
];
|
|
};
|
|
}
|