mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 18:30:46 +02:00
audio/media: separated into new file
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
../../hostsModules/laptop/nixos/bootloader.nix
|
../../hostsModules/laptop/nixos/bootloader.nix
|
||||||
../../hostsModules/laptop/nixos/networking.nix # firewall, ssh, networkmanager, etc.
|
../../hostsModules/laptop/nixos/networking.nix # firewall, ssh, networkmanager, etc.
|
||||||
../../modules/nixos/bluetooth.nix
|
../../modules/nixos/bluetooth.nix
|
||||||
|
../../modules/nixos/audioAndMedia.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
@@ -119,23 +120,6 @@
|
|||||||
# Configure console keymap
|
# Configure console keymap
|
||||||
console.keyMap = "fr_CH";
|
console.keyMap = "fr_CH";
|
||||||
|
|
||||||
|
|
||||||
# Enable sound with pipewire.
|
|
||||||
services.pulseaudio.enable = false;
|
|
||||||
security.rtkit.enable = true;
|
|
||||||
services.pipewire = {
|
|
||||||
enable = true;
|
|
||||||
alsa.enable = true;
|
|
||||||
alsa.support32Bit = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
# If you want to use JACK applications, uncomment this
|
|
||||||
#jack.enable = true;
|
|
||||||
|
|
||||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
|
||||||
# no need to redefine it in your config for now)
|
|
||||||
#media-session.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
# services.xserver.libinput.enable = true;
|
# services.xserver.libinput.enable = true;
|
||||||
|
|
||||||
@@ -176,14 +160,10 @@
|
|||||||
snapshot
|
snapshot
|
||||||
gnome-characters
|
gnome-characters
|
||||||
gnome-disk-utility
|
gnome-disk-utility
|
||||||
kdePackages.okular
|
|
||||||
kdePackages.dolphin
|
|
||||||
gnome-font-viewer
|
gnome-font-viewer
|
||||||
#tree # shows dir in tree # we use eza now
|
#tree # shows dir in tree # we use eza now
|
||||||
zsh # better bash
|
zsh # better bash
|
||||||
brightnessctl # control brightness
|
brightnessctl # control brightness
|
||||||
pulseaudio # sound server
|
|
||||||
playerctl # controls media player
|
|
||||||
udiskie # removable disk automounter for udisks
|
udiskie # removable disk automounter for udisks
|
||||||
cliphist # Wayland clipboard manager
|
cliphist # Wayland clipboard manager
|
||||||
wl-clipboard # cli copy/past utilities for Wayland
|
wl-clipboard # cli copy/past utilities for Wayland
|
||||||
@@ -205,23 +185,18 @@
|
|||||||
bottom # Cross-platform graphical process/system monitor with a customizable interface
|
bottom # Cross-platform graphical process/system monitor with a customizable interface
|
||||||
cmatrix
|
cmatrix
|
||||||
tomato-c # pomodoro timer
|
tomato-c # pomodoro timer
|
||||||
pavucontrol # PulseAudio Volume Control
|
|
||||||
#hyprshot
|
#hyprshot
|
||||||
xdg-utils
|
xdg-utils
|
||||||
mailcap
|
mailcap
|
||||||
pkgs-unstable.vimPluginsUpdater # used for building plugins
|
pkgs-unstable.vimPluginsUpdater # used for building plugins
|
||||||
hyprcursor
|
hyprcursor
|
||||||
vial # Open-source GUI and QMK fork for configuring your keyboard in real time
|
vial # Open-source GUI and QMK fork for configuring your keyboard in real time
|
||||||
mplayer # Movie player that supports many video formats
|
|
||||||
chromium # used only to flash the firmware on my framework laptop 16 (keyboard.frame.work) as only chromium based browser support webHID.
|
chromium # used only to flash the firmware on my framework laptop 16 (keyboard.frame.work) as only chromium based browser support webHID.
|
||||||
capitaine-cursors-themed # cursor theme
|
capitaine-cursors-themed # cursor theme
|
||||||
usbutils # used for lsusb
|
usbutils # used for lsusb
|
||||||
# used for the framework 16 laptop
|
# used for the framework 16 laptop
|
||||||
framework-tool
|
framework-tool
|
||||||
framework-tool-tui
|
framework-tool-tui
|
||||||
krita # image edition
|
|
||||||
yt-dlp # some youtube downloader
|
|
||||||
vlc
|
|
||||||
(pkgs-unstable.python314.withPackages (ps:
|
(pkgs-unstable.python314.withPackages (ps:
|
||||||
with ps; [
|
with ps; [
|
||||||
matplotlib
|
matplotlib
|
||||||
@@ -235,10 +210,7 @@
|
|||||||
gdb
|
gdb
|
||||||
raylib
|
raylib
|
||||||
glfw # raylib and some dependecies
|
glfw # raylib and some dependecies
|
||||||
rembg # background remover
|
|
||||||
cling # c interpreter used for coding
|
cling # c interpreter used for coding
|
||||||
mprisence
|
|
||||||
gif-for-cli
|
|
||||||
# lsp
|
# lsp
|
||||||
texlab
|
texlab
|
||||||
clang-tools
|
clang-tools
|
||||||
@@ -250,11 +222,9 @@
|
|||||||
# for caelestia
|
# for caelestia
|
||||||
kdePackages.qtdeclarative # provides qmlls and other things
|
kdePackages.qtdeclarative # provides qmlls and other things
|
||||||
quickshell # we have it but adding it there solves "WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")"
|
quickshell # we have it but adding it there solves "WARN qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: App info not found for 'org.quickshell'")"
|
||||||
gpu-screen-recorder
|
|
||||||
fuzzel
|
fuzzel
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
papirus-folders
|
papirus-folders
|
||||||
inkscape
|
|
||||||
birdtray # thunderbird tray app
|
birdtray # thunderbird tray app
|
||||||
# this is more up to date
|
# this is more up to date
|
||||||
#(callPackage ../../modules/packages/vivify.nix {})
|
#(callPackage ../../modules/packages/vivify.nix {})
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
pkgs-unstable,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
# Enable sound with pipewire.
|
||||||
|
services.pulseaudio.enable = false;
|
||||||
|
security.rtkit.enable = true;
|
||||||
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa.enable = true;
|
||||||
|
alsa.support32Bit = true;
|
||||||
|
pulse.enable = true;
|
||||||
|
# If you want to use JACK applications, uncomment this
|
||||||
|
#jack.enable = true;
|
||||||
|
|
||||||
|
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||||
|
# no need to redefine it in your config for now)
|
||||||
|
#media-session.enable = true;
|
||||||
|
};
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
kdePackages.okular
|
||||||
|
kdePackages.dolphin
|
||||||
|
pulseaudio # sound server
|
||||||
|
playerctl # controls media player
|
||||||
|
pavucontrol # PulseAudio Volume Control
|
||||||
|
mplayer # Movie player that supports many video formats
|
||||||
|
krita # image edition
|
||||||
|
yt-dlp # some youtube downloader
|
||||||
|
vlc
|
||||||
|
#mprisence # Highly customizable Discord Rich Presence for MPRIS media players on Linux
|
||||||
|
#gif-for-cli # Render gifs as ASCII art in your cli
|
||||||
|
#rembg # background remover
|
||||||
|
gpu-screen-recorder
|
||||||
|
inkscape
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user