Enable wake-on-lan for polaris
This commit is contained in:
@@ -3,10 +3,22 @@
|
||||
imports = [
|
||||
../../modules/nixos/desktop.nix
|
||||
|
||||
../../modules/nixos/ssh.nix
|
||||
./hardware-configuration.nix
|
||||
./variables.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
interfaces = {
|
||||
enp5s0 = {
|
||||
wakeOnLan.enable = true;
|
||||
};
|
||||
};
|
||||
firewall = {
|
||||
allowedUDPPorts = [ 9 ];
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users."${config.var.username}" = import ./home.nix;
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
Reference in New Issue
Block a user