Files
dendritic/modules/nixos/lxc.nix
John Lancaster 5e62bcd97c syntax sugar
2026-03-10 22:49:51 -05:00

21 lines
656 B
Nix

{ inputs, ... }:
{
flake.modules.nixos.lxc = { pkgs, lib, ...}: {
imports = with inputs.self.modules.nixos; [
({ modulesPath, ... }: { imports = [ "${modulesPath}/virtualisation/proxmox-lxc.nix" ]; })
ssh
];
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
system.stateVersion = "25.11";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
environment.systemPackages = with pkgs; [ git zsh ];
};
# Generic bootstrapping lxc, use a specific host file for more
flake.nixosConfigurations.lxc = inputs.nixpkgs.lib.nixosSystem {
modules = with inputs.self.modules.nixos; [
lxc
];
};
}