From 1cc4364b9d7e83b9fdd131fd387f827a07575f41 Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Thu, 26 Jun 2025 22:42:12 +1000 Subject: [PATCH] Update lxc config for alt --- hosts/alt/configuration.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hosts/alt/configuration.nix b/hosts/alt/configuration.nix index 3b2b4dc..aa4823c 100644 --- a/hosts/alt/configuration.nix +++ b/hosts/alt/configuration.nix @@ -2,15 +2,21 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, inputs, ... }: +{ config, modulesPath, pkgs, inputs, ... }: { imports = [ # Include the results of the hardware scan. - ./hardware-configuration.nix + (modulesPath + "/virtualisation/proxmox-lxc.nix") ../modules/base.nix ]; + nix.settings = { sandbox = false; }; + proxmoxLXC = { + manageNetwork = false; + privileged = true; + }; + networking.hostName = "alt"; # Define your hostname. # This value determines the NixOS release from which the default