NixOS-PVE-Deployment-Util/nix-config/lxc.nix

23 lines
398 B
Nix
Raw Permalink Normal View History

{ modulesPath, config, pkgs, ... }:
{
imports = [
"${modulesPath}/virtualisation/lxc-container.nix"
];
boot.isContainer = true;
systemd.suppressedSystemUnits = [
"dev-mqueue.mount"
"sys-kernel-debug.mount"
"sys-fs-fuse-connections.mount"
];
environment.systemPackages = with pkgs; [
openssh
binutils
man
git
];
programs.nix-ld.enable = true;
}