fixed warning
This commit is contained in:
@@ -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, ... }: {
|
||||||
|
|||||||
Reference in New Issue
Block a user