system-manager-wakasu
 1{
 2  libx,
 3  globals,
 4  lib,
 5  pkgs,
 6  ...
 7}:
 8{
 9  users.users.vincent.linger = true;
10
11  services = {
12    wireguard = {
13      enable = true;
14      ips = libx.wg-ips globals.machines.aion.net.vpn.ips;
15      endpoint = "${globals.net.vpn.endpoint}";
16      endpointPublicKey = "${globals.machines.kerkouane.net.vpn.pubkey}";
17    };
18  };
19
20  networking.useDHCP = lib.mkDefault true;
21
22  environment.systemPackages = with pkgs; [
23    lm_sensors
24    gnumake
25  ];
26
27}