virtualisation/linode-config: drop "with; lib"

This commit is contained in:
phaer
2025-04-07 13:25:05 +02:00
parent f01b5018c9
commit a80eca86d5

View File

@@ -1,10 +1,8 @@
{ {
config,
lib, lib,
pkgs, pkgs,
... ...
}: }:
with lib;
{ {
imports = [ ../profiles/qemu-guest.nix ]; imports = [ ../profiles/qemu-guest.nix ];
@@ -12,7 +10,7 @@ with lib;
enable = true; enable = true;
settings.PermitRootLogin = "prohibit-password"; settings.PermitRootLogin = "prohibit-password";
settings.PasswordAuthentication = mkDefault false; settings.PasswordAuthentication = lib.mkDefault false;
}; };
networking = { networking = {
@@ -40,7 +38,7 @@ with lib;
autoResize = true; autoResize = true;
}; };
swapDevices = mkDefault [ { device = "/dev/sdb"; } ]; swapDevices = lib.mkDefault [ { device = "/dev/sdb"; } ];
# Enable LISH and Linode Booting w/ GRUB # Enable LISH and Linode Booting w/ GRUB
boot = { boot = {