virtualisation/linode-config: drop "with; lib"
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user