This commit is contained in:
2026-05-28 13:26:03 +01:00
parent e45cc182ee
commit acb6fb1677
3 changed files with 71 additions and 69 deletions
+1 -1
View File
@@ -271,7 +271,7 @@
]; ];
settings = { settings = {
highlight.enable = true; highlight.enable = true;
indent.enable = true; indent.enable = false;
}; };
}; };
}; };
+10 -8
View File
@@ -1,14 +1,15 @@
{ den, modules, ... }:
{ {
den,
modules,
...
}: {
modules.obs = settings: { modules.obs = settings: {
homeManager = homeManager = {
{
pkgs, pkgs,
lib, lib,
config, config,
... ...
}: }: {
{
programs = { programs = {
obs-studio = { obs-studio = {
enable = true; enable = true;
@@ -20,11 +21,12 @@
plugins = with pkgs.obs-studio-plugins; [ plugins = with pkgs.obs-studio-plugins; [
obs-pipewire-audio-capture obs-pipewire-audio-capture
obs-vkcapture obs-vkcapture
obs-vaapi #optional AMD hardware acceleration
obs-gstreamer
]; ];
}; };
}; };
systemd.user.services = systemd.user.services = let
let
audio-set = lib.mkIf settings.audio { audio-set = lib.mkIf settings.audio {
pw-discordaudio-virtual-device = { pw-discordaudio-virtual-device = {
Unit = { Unit = {
@@ -63,7 +65,7 @@
lib.mergeAttrsList [audio-set]; lib.mergeAttrsList [audio-set];
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
exec-once = [ "${config.programs.obs-studio.finalPackage}/bin/obs --startreplaybuffer" ]; # exec-once = ["${config.programs.obs-studio.finalPackage}/bin/obs --startreplaybuffer"];
}; };
}; };
}; };
Generated
+4 -4
View File
@@ -1293,11 +1293,11 @@
"nixpkgs": "nixpkgs_9" "nixpkgs": "nixpkgs_9"
}, },
"locked": { "locked": {
"lastModified": 1779840216, "lastModified": 1779876223,
"narHash": "sha256-fU9m8FTjZ94muIKE5jcCYBvdGKs2qzdPgGQfNCuYlzI=", "narHash": "sha256-n7kC2IF9jUSnomS+gwwD2tuwBwRiBVNEmVlTUBVqZzs=",
"ref": "main", "ref": "main",
"rev": "2213f5814708b2734143f73385a81278d9827a64", "rev": "f0ebca7595fa8211d1b8eae0cf5850ff45a62d29",
"revCount": 81, "revCount": 83,
"type": "git", "type": "git",
"url": "https://git.molez.org/mandlm/omp-nix" "url": "https://git.molez.org/mandlm/omp-nix"
}, },