33 lines
No EOL
662 B
Nix
33 lines
No EOL
662 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
imports = [
|
|
../../../../modules/vrrp.nix
|
|
../../../../modules/nginx.nix
|
|
];
|
|
|
|
networking.hostName = "alpha";
|
|
|
|
nyxs-nix.services.vrrp = {
|
|
enable = true;
|
|
priority = 200;
|
|
peers = [
|
|
"10.5.0.102"
|
|
];
|
|
};
|
|
|
|
systemd.network.links."10-eth0" = {
|
|
matchConfig.PermanentMACAddress = "00:25:90:e6:e1:0e";
|
|
linkConfig.Name = "eth0";
|
|
};
|
|
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-uuid/29a440ba-305c-4041-b45d-502b5cf3a514";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/A579-28EC";
|
|
fsType = "vfat";
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|
};
|
|
} |