From d713299ed83238b521b97f4fb68858a825cbe739 Mon Sep 17 00:00:00 2001 From: Ittihadyya Date: Fri, 10 Jan 2025 07:25:01 +0200 Subject: [PATCH] formatting and enable wol --- apps.mod.nix | 4 ++-- networking/general.mod.nix | 15 +++++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/apps.mod.nix b/apps.mod.nix index 0c7275c..5cd2b82 100644 --- a/apps.mod.nix +++ b/apps.mod.nix @@ -6,11 +6,11 @@ ps wget libqalculate - magic-wormhole + magic-wormhole ]; programs = { # For the love of Fucking please keep them in alphabetical order to soothe my brain - btop = { + btop = { enable = true; }; emacs = { diff --git a/networking/general.mod.nix b/networking/general.mod.nix index 0e2c324..8b516ff 100644 --- a/networking/general.mod.nix +++ b/networking/general.mod.nix @@ -97,12 +97,15 @@ {config, ...}: { networking.resolvconf.enable = false; networking = { - interfaces.eth0.ipv4.addresses = [ - { - address = "192.168.88.225"; - prefixLength = 24; - } - ]; + interfaces.eth0 = { + wakeOnLan.enable = true; + ipv4.addresses = [ + { + address = "192.168.88.225"; + prefixLength = 24; + } + ]; + }; defaultGateway = { address = "192.168.88.1"; interface = "eth0";