mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Enable connecting to blowhole over IPMI on gooseberry
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
5d516e080b
commit
d27a09b0ab
|
@ -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"
|
||||
},
|
||||
|
|
|
@ -35,6 +35,8 @@ in
|
|||
inputs.disko.nixosModules.disko
|
||||
];
|
||||
|
||||
environment.systemPackages = [ pkgs.ipmitool ];
|
||||
|
||||
boot.initrd.systemd.enable = true;
|
||||
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue