From a80eca86d57f92f1925a368d9951e8931f6c29b2 Mon Sep 17 00:00:00 2001 From: phaer Date: Mon, 7 Apr 2025 13:25:05 +0200 Subject: [PATCH] virtualisation/linode-config: drop "with; lib" --- nixos/modules/virtualisation/linode-config.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nixos/modules/virtualisation/linode-config.nix b/nixos/modules/virtualisation/linode-config.nix index a6dbe4cbb8f0..08a76437c882 100644 --- a/nixos/modules/virtualisation/linode-config.nix +++ b/nixos/modules/virtualisation/linode-config.nix @@ -1,10 +1,8 @@ { - config, lib, pkgs, ... }: -with lib; { imports = [ ../profiles/qemu-guest.nix ]; @@ -12,7 +10,7 @@ with lib; enable = true; settings.PermitRootLogin = "prohibit-password"; - settings.PasswordAuthentication = mkDefault false; + settings.PasswordAuthentication = lib.mkDefault false; }; networking = { @@ -40,7 +38,7 @@ with lib; autoResize = true; }; - swapDevices = mkDefault [ { device = "/dev/sdb"; } ]; + swapDevices = lib.mkDefault [ { device = "/dev/sdb"; } ]; # Enable LISH and Linode Booting w/ GRUB boot = {