mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(chen): WoL
This commit is contained in:
parent
6cfaf82535
commit
81ae90dd12
12 changed files with 77 additions and 4 deletions
|
|
@ -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") [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue