From 9e7b4c8e036b1958ef8ac2bc19c695c43910a2d7 Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 10 Dec 2023 02:13:07 +0100 Subject: [PATCH] nixos-modules/microvm: run deadnix --- nixos-modules/microvm/asserts.nix | 2 +- nixos-modules/microvm/optimization.nix | 2 +- nixos-modules/microvm/options.nix | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos-modules/microvm/asserts.nix b/nixos-modules/microvm/asserts.nix index 5a7797b3..98e1f842 100644 --- a/nixos-modules/microvm/asserts.nix +++ b/nixos-modules/microvm/asserts.nix @@ -1,4 +1,4 @@ -{ config, options, lib, ... }: +{ config, lib, ... }: let inherit (config.networking) hostName; diff --git a/nixos-modules/microvm/optimization.nix b/nixos-modules/microvm/optimization.nix index dd68ed08..52db1a46 100644 --- a/nixos-modules/microvm/optimization.nix +++ b/nixos-modules/microvm/optimization.nix @@ -1,5 +1,5 @@ # Closure size and startup time optimization for disposable use-cases -{ config, options, lib, pkgs, ... }: +{ config, options, lib, ... }: let cfg = config.microvm; diff --git a/nixos-modules/microvm/options.nix b/nixos-modules/microvm/options.nix index 4db9cf4c..eebf2b4e 100644 --- a/nixos-modules/microvm/options.nix +++ b/nixos-modules/microvm/options.nix @@ -1,4 +1,4 @@ -{ config, options, lib, pkgs, ... }: +{ config, options, lib, ... }: let self-lib = import ../../lib { nixpkgs-lib = lib;