0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

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,
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 = {