fucking(refactored): everything
This commit is contained in:
4
nix/modules/obs/default.nix
Normal file
4
nix/modules/obs/default.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
_: {
|
||||
home = ./home.nix;
|
||||
# nixos: ./nixos.nix;
|
||||
}
|
||||
@@ -1,6 +1,18 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
inputs,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.obs;
|
||||
in
|
||||
{
|
||||
options.modules.obs = {
|
||||
enable = lib.mkEnableOption "obs";
|
||||
};
|
||||
config.programs = lib.mkIf cfg.enable {
|
||||
obs-studio = {
|
||||
enable = true;
|
||||
package = (
|
||||
|
||||
Reference in New Issue
Block a user