Change structure
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.os.homebrew.iina;
|
||||
in
|
||||
{
|
||||
options.os.homebrew.iina = {
|
||||
enable = mkEnableOption "System iina homebrew service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
homebrew.casks = [
|
||||
"iina"
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user