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