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:
parent
f01b5018c9
commit
a80eca86d5
1 changed files with 2 additions and 4 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue