cleanup
This commit is contained in:
parent
0f9ffb552d
commit
916f497b84
1 changed files with 0 additions and 5 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
self: super: {
|
self: super: {
|
||||||
# We are overriding the libvirtd entry in nixosModules
|
|
||||||
nixosModules =
|
nixosModules =
|
||||||
super.nixosModules
|
super.nixosModules
|
||||||
// {
|
// {
|
||||||
|
|
@ -9,15 +8,11 @@ self: super: {
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
} @ args: let
|
} @ args: let
|
||||||
# Import and evaluate the original libvirtd module definition
|
|
||||||
# super.nixosModules.libvirtd is typically the path to the original module file
|
|
||||||
originalModule = import super.nixosModules.libvirtd args;
|
originalModule = import super.nixosModules.libvirtd args;
|
||||||
in
|
in
|
||||||
lib.mkMerge [
|
lib.mkMerge [
|
||||||
# Include everything from the original module (its options, config assignments, etc.)
|
|
||||||
originalModule
|
originalModule
|
||||||
|
|
||||||
# Add our overriding configuration
|
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.virtualisation.libvirtd.enable {
|
config = lib.mkIf config.virtualisation.libvirtd.enable {
|
||||||
virtualisation.libvirtd.hooks = lib.mkForce {};
|
virtualisation.libvirtd.hooks = lib.mkForce {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue