flake: rework modules folder structure

This commit is contained in:
Veneficium 2024-12-23 19:49:03 +01:00
parent 5d64c56d40
commit 0952665f6b
56 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,10 @@
{ config, lib, ... }:
{
options.settings.services.switcheroo = {
enable = lib.mkEnableOption "enable switcheroo-control for nvidia optimus management";
};
config = lib.mkIf config.settings.services.switcheroo.enable {
services.switcherooControl.enable = true;
};
}