From 5e62bcd97caaa7eb41309616becb4f65529b7f35 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Tue, 10 Mar 2026 22:49:51 -0500 Subject: [PATCH] syntax sugar --- modules/nixos/lxc.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/nixos/lxc.nix b/modules/nixos/lxc.nix index b0f60cb..0e1a2f8 100644 --- a/modules/nixos/lxc.nix +++ b/modules/nixos/lxc.nix @@ -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 ]; }; }