fixed warning

This commit is contained in:
2025-07-03 02:43:44 +00:00
parent cc48ba10d6
commit 88b6f01a35

View File

@@ -10,7 +10,6 @@
let let
inherit (self) outputs; inherit (self) outputs;
nixosSystem = inputs.nixpkgs.lib.nixosSystem; nixosSystem = inputs.nixpkgs.lib.nixosSystem;
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
# Base LXC module that can be reused # Base LXC module that can be reused
baseLxcModule = { pkgs, ... }: { baseLxcModule = { pkgs, ... }: {
@@ -32,9 +31,6 @@
# Function to create LXC systems with custom modules # Function to create LXC systems with custom modules
mkLxcSystem = { system ? "x86_64-linux", extraModules ? [], extraPackages ? [] }: nixosSystem { mkLxcSystem = { system ? "x86_64-linux", extraModules ? [], extraPackages ? [] }: nixosSystem {
inherit system; inherit system;
specialArgs = {
inherit pkgs;
};
modules = baseLxcModules ++ extraModules ++ [ modules = baseLxcModules ++ extraModules ++ [
# Add extra packages to the base configuration # Add extra packages to the base configuration
({ pkgs, ... }: { ({ pkgs, ... }: {