created program option entries for all packages that needs continual state
This commit is contained in:
parent
5484f9ba04
commit
9fe35e74ad
21 changed files with 374 additions and 63 deletions
24
modules/home-manager-modules/programs/obs.nix
Normal file
24
modules/home-manager-modules/programs/obs.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
osConfig,
|
||||
...
|
||||
}: {
|
||||
options.programs.obs-studio = {
|
||||
# enable = lib.mkEnableOption "enable obs";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.programs.obs-studio.enable (lib.mkMerge [
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
obs-studio
|
||||
];
|
||||
}
|
||||
(
|
||||
lib.mkIf osConfig.host.impermanence.enable {
|
||||
# TODO: map impermanence for obs
|
||||
}
|
||||
)
|
||||
]);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue