refactor(sys): systemModules -> ooknet

This commit is contained in:
ooks-io 2024-05-26 17:41:49 +12:00
parent 63c39a89ed
commit 104df464f9
52 changed files with 69 additions and 69 deletions

View file

@ -2,15 +2,15 @@
{ lib, config, pkgs, ... }:
let
features = config.systemModules.host.hardware.features;
cfg = config.systemModules.host.hardware.battery;
features = config.ooknet.host.hardware.features;
cfg = config.ooknet.host.hardware.battery;
inherit (lib) mkIf mkDefault mkOption types;
inherit (builtins) elem;
MHz = x: x * 1000;
in
{
options.systemModules.host.hardware.battery = {
options.ooknet.host.hardware.battery = {
powersave = {
minFreq = mkOption {
type = types.int;