Added: Bunch of Programs
This commit is contained in:
24
home/programs/media/audio.nix
Normal file
24
home/programs/media/audio.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# audio control
|
||||
pavucontrol
|
||||
playerctl
|
||||
pulsemixer
|
||||
];
|
||||
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
defaultProfiles = ["gpu-hq"];
|
||||
scripts = [pkgs.mpvScripts.mpris];
|
||||
};
|
||||
|
||||
|
||||
services = {
|
||||
playerctld.enable = true;
|
||||
};
|
||||
}
|
12
home/programs/media/image.nix
Normal file
12
home/programs/media/image.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# images
|
||||
imv
|
||||
];
|
||||
|
||||
}
|
13
home/programs/media/media.nix
Normal file
13
home/programs/media/media.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
# media - control and enjoy audio/video
|
||||
{
|
||||
imports = [
|
||||
./audio.nix
|
||||
./image.nix
|
||||
];
|
||||
|
||||
}
|
21
home/programs/media/obs.nix
Normal file
21
home/programs/media/obs.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Install OBS Studio and any desired plugins
|
||||
home.packages = with pkgs; [
|
||||
obs-studio
|
||||
obs-studio-plugins.obs-vkcapture # For better Wayland capture (if you're on Wayland)
|
||||
obs-studio-plugins.move-transition # Useful for scene transitions
|
||||
# Add other OBS plugins you might need here
|
||||
];
|
||||
|
||||
# Optional: Configure environment variables or settings if needed
|
||||
# This is less common for OBS Studio, as it's mostly GUI configured.
|
||||
# Example (you might not need this):
|
||||
environment.variables = {
|
||||
QT_QPA_PLATFORM = "wayland"; # If you're on Wayland and encounter issues
|
||||
};
|
||||
|
||||
# Optional: Set permissions if necessary (less common)
|
||||
# systemd.user.services.obs-studio.serviceConfig.SupplementaryGroups = [ "video" ];
|
||||
}
|
15
home/programs/media/spotify.nix
Normal file
15
home/programs/media/spotify.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Install Spotify
|
||||
home.packages = with pkgs; [
|
||||
spotify
|
||||
];
|
||||
|
||||
# Optional: You might need to set environment variables for Spotify,
|
||||
# especially if you encounter issues with it finding libraries.
|
||||
# This is less common now, but here's an example:
|
||||
# environment.variables = {
|
||||
# NIXOS_OZONE_WL = "1"; # If you're on Wayland and have issues
|
||||
# };
|
||||
}
|
Reference in New Issue
Block a user