feat: wakeonlan
This commit is contained in:
parent
f86530009f
commit
b55017468e
1 changed files with 9 additions and 6 deletions
|
|
@ -43,6 +43,7 @@ in {
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
networking.hostName = "hitsugibune";
|
networking.hostName = "hitsugibune";
|
||||||
|
networking.interfaces.enp0s31f6.wakeOnLan.enable = true;
|
||||||
time.timeZone = "Europe/Vienna";
|
time.timeZone = "Europe/Vienna";
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
|
|
@ -57,14 +58,15 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
bc
|
||||||
wget
|
btop
|
||||||
git
|
git
|
||||||
temurin-bin-17
|
|
||||||
mcrcon
|
mcrcon
|
||||||
rsync
|
rsync
|
||||||
btop
|
temurin-bin-17
|
||||||
bc
|
vim
|
||||||
|
wakeonlan
|
||||||
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
|
|
@ -78,7 +80,8 @@ in {
|
||||||
|
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
|
||||||
networking.firewall.allowedUDPPorts = [24454];
|
# 9 wake on lan
|
||||||
|
networking.firewall.allowedUDPPorts = [24454 9];
|
||||||
|
|
||||||
services.modded-minecraft-servers = {
|
services.modded-minecraft-servers = {
|
||||||
# This is mandatory, sorry.
|
# This is mandatory, sorry.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue