Add missing wireguard-tools dependency

This commit is contained in:
yuri 2023-09-17 21:04:22 +02:00
parent 03719f5bf8
commit d1f2b13232
7 changed files with 107 additions and 113 deletions

View file

@ -1,7 +1,7 @@
{ lib, ... }:
{ lib, modulesPath, ... }:
{
imports = [
./hardware-configuration.nix
"${modulesPath}/virtualisation/openstack-config.nix"
];
users.users.root.initialPassword = lib.mkForce null;

View file

@ -1,24 +0,0 @@
{ ... }:
{
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
autoResize = true;
};
boot = {
growPartition = true;
kernelParams = [ "console=tty1" ];
loader.grub = {
enable = true;
device = "/dev/vda";
extraConfig = ''
serial --unit=1 --speed=115200 --word=8 --parity=no --stop=1
terminal_output console serial
terminal_input console serial
'';
};
};
systemd.services."serial-getty@tty1".enable = true;
}