formatting

This commit is contained in:
Osman Faruk Bayram 2025-07-12 21:36:18 +03:00
parent 7ce780986b
commit 415715a4f9
58 changed files with 398 additions and 229 deletions

View file

@ -3,7 +3,8 @@
lib,
config,
...
}: {
}:
{
options = {
myModules.enableWakeOnLan = lib.mkOption {
type = lib.types.bool;
@ -19,13 +20,13 @@
# see https://github.com/NixOS/nixpkgs/issues/91352
systemd.services.wakeonlan = {
description = "Reenable wake on lan every boot";
after = ["network.target"];
after = [ "network.target" ];
serviceConfig = {
Type = "simple";
RemainAfterExit = "true";
ExecStart = "${pkgs.ethtool}/sbin/ethtool -s enp3s0 wol g";
};
wantedBy = ["default.target"];
wantedBy = [ "default.target" ];
};
})
];