Setup Commit
This commit is contained in:
commit
289b69d342
23 changed files with 728 additions and 0 deletions
33
hosts/servers/blades/2-beta/default.nix
Normal file
33
hosts/servers/blades/2-beta/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ 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" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue