refactor templates
This commit is contained in:
parent
f4accd2d9c
commit
3d875fd981
6 changed files with 65 additions and 21 deletions
|
@ -1,10 +1,5 @@
|
|||
{ lib, ... }: {
|
||||
|
||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||
# replicates the default behaviour.
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.ens18.useDHCP = lib.mkDefault true;
|
||||
networking.useDHCP = true;
|
||||
|
||||
# Enable qemu guest agent
|
||||
services.qemuGuest.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue