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