updated laptop configuration

This commit is contained in:
Timo Boomers 2025-06-20 16:35:05 +02:00
parent fa648a174d
commit f68ff8d18c
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:kSQDrQDmKzljJzfGYcd3m9RqHi4h8rSwkZ3sQ9kBURo
4 changed files with 28 additions and 3 deletions

View File

@ -79,5 +79,24 @@
allowedUDPPorts = [ 80 443 53 ]; 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"; system.stateVersion = "24.05";
} }

View File

@ -35,6 +35,7 @@
applications.wezterm.enable = true; applications.wezterm.enable = true;
applications.nushell.enable = false; applications.nushell.enable = false;
applications.typst.enable = true; applications.typst.enable = true;
# applications.obs-studio.enable = true;
services.nextcloud-sync.enable = true; services.nextcloud-sync.enable = true;
@ -61,6 +62,8 @@
unstable.hoppscotch unstable.hoppscotch
unstable.apostrophe unstable.apostrophe
unstable.surfer # waveform viewer unstable.surfer # waveform viewer
unstable.vscode
pomodoro-gtk
# Office # Office
libreoffice libreoffice
@ -68,7 +71,6 @@
# Image editing # Image editing
gimp gimp
inkscape inkscape
unstable.obs-studio
unstable.moonlight-qt unstable.moonlight-qt

View File

@ -1,4 +1,4 @@
{ config, lib, ... }: { config, lib, pkgs, ... }:
with lib; with lib;
@ -18,6 +18,10 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.obs-studio = { programs.obs-studio = {
enable = true; enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-vaapi #optional AMD hardware acceleration
];
}; };
}; };
} }

View File

@ -11,7 +11,7 @@
unstable-packages = final: _prev: { unstable-packages = final: _prev: {
unstable = import inputs.nixpkgs-unstable { unstable = import inputs.nixpkgs-unstable {
system = final.system; system = final.system;
config.allowUnfree = false; config.allowUnfree = true;
}; };
}; };
} }