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