Enable connecting to blowhole over IPMI on gooseberry

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-07-19 01:39:52 +02:00
parent 5d516e080b
commit d27a09b0ab
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
3 changed files with 9 additions and 2 deletions

View file

@ -999,8 +999,8 @@
"secret": {
"flake": false,
"locked": {
"lastModified": 1689698765,
"narHash": "sha256-K1mWUDZ4MTzHLf2xB59TgNRj/IzbNed/6uaglXJzF2o=",
"lastModified": 1689723668,
"narHash": "sha256-o+sV0G+Hc3pgw6Es12ki2WpDdE0KpKVKdgqdjnVAb+4=",
"path": "/home/main/dotfiles2/secret",
"type": "path"
},

View file

@ -35,6 +35,8 @@ in
inputs.disko.nixosModules.disko
];
environment.systemPackages = [ pkgs.ipmitool ];
boot.initrd.systemd.enable = true;
time.timeZone = "Europe/Amsterdam";

View file

@ -7,6 +7,11 @@ in
useDHCP = false;
interfaces.eth0.useDHCP = true;
firewall.enable = true;
interfaces."eth1".ipv4.addresses = [{
address = secret.network.ips.gooseberry.ipmi or "";
prefixLength = 30;
}];
};
services.udev.extraRules = ''