syntax sugar

This commit is contained in:
John Lancaster
2026-03-10 22:49:51 -05:00
parent e351efa18b
commit 5e62bcd97c

View File

@@ -1,9 +1,9 @@
{ inputs, ... }:
{
flake.modules.nixos.lxc = { pkgs, lib, ...}: {
imports = [
imports = with inputs.self.modules.nixos; [
({ modulesPath, ... }: { imports = [ "${modulesPath}/virtualisation/proxmox-lxc.nix" ]; })
inputs.self.modules.nixos.ssh
ssh
];
nixpkgs.hostPlatform = lib.mkForce "x86_64-linux";
system.stateVersion = "25.11";
@@ -13,8 +13,8 @@
# Generic bootstrapping lxc, use a specific host file for more
flake.nixosConfigurations.lxc = inputs.nixpkgs.lib.nixosSystem {
modules = [
inputs.self.modules.nixos.lxc
modules = with inputs.self.modules.nixos; [
lxc
];
};
}