33 lines
No EOL
661 B
Nix
33 lines
No EOL
661 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
imports = [
|
|
../../../../modules/vrrp.nix
|
|
../../../../modules/nginx.nix
|
|
];
|
|
|
|
networking.hostName = "beta";
|
|
|
|
nyxs-nix.services.vrrp = {
|
|
enable = true;
|
|
priority = 150;
|
|
peers = [
|
|
"10.5.0.101"
|
|
];
|
|
};
|
|
|
|
systemd.network.links."10-eth0" = {
|
|
matchConfig.PermanentMACAddress = "00:25:90:e6:e1:10";
|
|
linkConfig.Name = "eth0";
|
|
};
|
|
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-uuid/7422bf7a-0760-41f2-aad3-28eff66c4b4d";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/0DED-C0F5";
|
|
fsType = "vfat";
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|
};
|
|
} |