feat(chen): WoL

This commit is contained in:
arcnmx 2024-05-11 12:33:10 -07:00
parent 6cfaf82535
commit 81ae90dd12
12 changed files with 77 additions and 4 deletions

View file

@ -28,7 +28,7 @@ in {
};
type = mkOption {
description = "Operating system type of the host";
type = enum ["NixOS" "MacOS" "Darwin" "Linux"];
type = enum ["NixOS" "MacOS" "Darwin" "Linux" "Windows"];
default = "NixOS";
};
folder = mkOption {
@ -73,6 +73,7 @@ in {
macos = "darwin";
darwin = "darwin";
linux = "linux";
windows = "windows";
}
.${string.toLower config.type};
modules = mkIf (config.folder != "linux") [