21 lines
644 B
Nix
21 lines
644 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.modules.nixos.lxc = { pkgs, lib, ...}: {
|
|
imports = [
|
|
({ modulesPath, ... }: { imports = [ "${modulesPath}/virtualisation/proxmox-lxc.nix" ]; })
|
|
inputs.self.modules.nixos.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 = [
|
|
inputs.self.modules.nixos.lxc
|
|
];
|
|
};
|
|
}
|