summary refs log tree commit diff
path: root/machines/lapin
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-12-13 00:20:02 +0100
committerMel <einebeere@gmail.com>2024-12-15 22:55:11 +0100
commit7cea3ef593c337667f7efebf49ce609e96cb029f (patch)
treeb10b8ecd89bcf2856c6a2c12a019669d7f3259ff /machines/lapin
parentff501440c298175a9afad1d44dccbe3896186a69 (diff)
downloadnetwork-7cea3ef593c337667f7efebf49ce609e96cb029f.tar.zst
network-7cea3ef593c337667f7efebf49ce609e96cb029f.zip
Add WireGuard to all kernels
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'machines/lapin')
-rw-r--r--machines/lapin/devices.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/machines/lapin/devices.nix b/machines/lapin/devices.nix
index 6bbece8..7410f57 100644
--- a/machines/lapin/devices.nix
+++ b/machines/lapin/devices.nix
@@ -1,8 +1,10 @@
 { lib, ... }:
 
 {
-  # Boot!
-  boot.loader.systemd-boot.enable = true;
+  boot = {
+    loader.systemd-boot.enable = true;
+    kernelModules = [ "wireguard" ];
+  };
 
   networking = {
     # Network configuration is managed with networkd.