20 lines
498 B
Nix
20 lines
498 B
Nix
{ config, modulesPath, pkgs, lib, ... }:
|
|
{
|
|
imports = [ (modulesPath + "/virtualisation/proxmox-lxc.nix") ];
|
|
nix.settings = { sandbox = false; };
|
|
proxmoxLXC = {
|
|
manageNetwork = false;
|
|
privileged = true;
|
|
};
|
|
services.fstrim.enable = false; # Let Proxmox host handle fstrim
|
|
services.openssh = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
settings = {
|
|
PermitRootLogin = "yes";
|
|
PasswordAuthentication = true;
|
|
PermitEmptyPasswords = "yes";
|
|
};
|
|
};
|
|
}
|