init: public

This commit is contained in:
2025-04-13 15:09:14 +08:00
parent 5995c2050b
commit 50247d94e8
253 changed files with 12964 additions and 567 deletions

View File

@@ -0,0 +1,15 @@
{ config, lib, ... }:
lib.my.makeSwitch {
inherit config;
optionName = "all screencast tools";
optionPath = [
"desktop"
"screencast"
"all"
];
config' = {
my.desktop.screencast = {
obs-studio.enable = true;
};
};
}

View File

@@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./all.nix
./obs-studio.nix
];
}

View File

@@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}:
lib.my.makeSwitch {
inherit config;
optionName = "obs-studio";
optionPath = [
"desktop"
"screencast"
"obs-studio"
];
config' = {
my.home.home.packages = with pkgs; [
(pkgs.wrapOBS {
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
];
})
];
};
}