2024-05-19 18:28:51 +02:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
|
{
|
|
|
|
|
imports = [
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
./../../modules/core
|
|
|
|
|
];
|
|
|
|
|
|
2024-10-18 11:40:09 +02:00
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
|
"jitsi-meet-1.0.8043"
|
|
|
|
|
"olm-3.2.16"
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
2024-05-19 18:28:51 +02:00
|
|
|
# kvm/qemu doesn't use UEFI firmware mode by default.
|
|
|
|
|
# so we force-override the setting here
|
|
|
|
|
# and configure GRUB instead.
|
2024-07-15 07:43:36 +02:00
|
|
|
boot.loader = {
|
|
|
|
|
systemd-boot.enable = lib.mkForce false;
|
|
|
|
|
grub = {
|
|
|
|
|
enable = true;
|
|
|
|
|
device = "/dev/vda";
|
|
|
|
|
useOSProber = false;
|
|
|
|
|
};
|
|
|
|
|
};
|
2024-05-19 18:28:51 +02:00
|
|
|
|
|
|
|
|
# allow local remote access to make it easier to toy around with the system
|
|
|
|
|
services.openssh = {
|
|
|
|
|
enable = true;
|
|
|
|
|
ports = [22];
|
|
|
|
|
settings = {
|
2024-10-18 11:40:09 +02:00
|
|
|
# PasswordAuthentication = lib.mkOverride true;
|
2024-05-19 18:28:51 +02:00
|
|
|
AllowUsers = null;
|
2024-10-18 11:40:09 +02:00
|
|
|
# PermitRootLogin = "yes";
|
2024-05-19 18:28:51 +02:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|