Compare commits
2 Commits
f475b7b4ab
...
351272fc5c
Author | SHA1 | Date | |
---|---|---|---|
351272fc5c
|
|||
f68ff8d18c
|
@@ -103,5 +103,24 @@
|
||||
allowedUDPPorts = [ 80 443 53 ];
|
||||
};
|
||||
|
||||
# Obs
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
|
||||
# optional Nvidia hardware acceleration
|
||||
package = (
|
||||
pkgs.obs-studio.override {
|
||||
cudaSupport = true;
|
||||
}
|
||||
);
|
||||
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
obs-vaapi #optional AMD hardware acceleration
|
||||
obs-gstreamer
|
||||
obs-vkcapture
|
||||
];
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
@@ -35,6 +35,7 @@
|
||||
applications.wezterm.enable = true;
|
||||
applications.nushell.enable = false;
|
||||
applications.typst.enable = true;
|
||||
# applications.obs-studio.enable = true;
|
||||
|
||||
services.nextcloud-sync.enable = true;
|
||||
|
||||
@@ -61,6 +62,8 @@
|
||||
unstable.hoppscotch
|
||||
unstable.apostrophe
|
||||
unstable.surfer # waveform viewer
|
||||
unstable.vscode
|
||||
pomodoro-gtk
|
||||
|
||||
# Office
|
||||
libreoffice
|
||||
@@ -68,7 +71,6 @@
|
||||
# Image editing
|
||||
gimp
|
||||
inkscape
|
||||
unstable.obs-studio
|
||||
|
||||
unstable.moonlight-qt
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{ config, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
@@ -18,6 +18,10 @@ in {
|
||||
config = mkIf cfg.enable {
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
obs-vaapi #optional AMD hardware acceleration
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@@ -11,7 +11,7 @@
|
||||
unstable-packages = final: _prev: {
|
||||
unstable = import inputs.nixpkgs-unstable {
|
||||
system = final.system;
|
||||
config.allowUnfree = false;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user