blob: cdc39823e4faa34faf826c54f6b19a3001270e74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ config, lib, pkgs, ... }:
{
boot = {
loader.grub = {
enable = true;
device = "/dev/sda";
};
kernelModules = [ ];
};
zramSwap = {
enable = true;
algorithm = "zstd";
swapDevices = 1;
memoryPercent = 50;
};
systemd.network.networks."10-wan" = {
name = "ens18";
address = [ "194.87.197.92/23" "2a00:b700:5::3:1cb/118" ];
gateway = [ "194.87.196.1" ];
routes = [ { Gateway = "2a00:b700:5::1"; GatewayOnLink = true; } ];
DHCP = "no";
};
}
|