audio
This commit is contained in:
parent
b93fa56328
commit
28456e0a79
4 changed files with 100 additions and 159 deletions
193
extras/dev.nix
193
extras/dev.nix
|
|
@ -1,109 +1,108 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
services.scx.enable = true;
|
services.scx.enable = true;
|
||||||
services.scx.scheduler = "scx_lavd"; # default is "scx_rustland"
|
services.scx.scheduler = "scx_lavd"; # default is "scx_rustland"
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# act
|
# act
|
||||||
# asm-lsp
|
# asm-lsp
|
||||||
# bash-language-server
|
# bash-language-server
|
||||||
# digital
|
# digital
|
||||||
# etcher
|
# etcher
|
||||||
# fontforge
|
# fontforge
|
||||||
# freecad
|
# freecad
|
||||||
# git-cliff
|
# git-cliff
|
||||||
# lua-language-server
|
# lua-language-server
|
||||||
# lychee # link checker
|
# lychee # link checker
|
||||||
# markdown-oxide # markdown lsp
|
# markdown-oxide # markdown lsp
|
||||||
# quickemu
|
# quickemu
|
||||||
# radicle-node
|
# radicle-node
|
||||||
# vulkan-loader
|
# vulkan-loader
|
||||||
b3sum
|
b3sum
|
||||||
delta
|
delta
|
||||||
devenv
|
devenv
|
||||||
direnv
|
direnv
|
||||||
gh
|
gh
|
||||||
hyperfine
|
hyperfine
|
||||||
jujutsu
|
jujutsu
|
||||||
just
|
just
|
||||||
lldb
|
lldb
|
||||||
mask
|
mask
|
||||||
mprocs
|
mprocs
|
||||||
nomachine-client
|
nomachine-client
|
||||||
presenterm
|
presenterm
|
||||||
qFlipper
|
qFlipper
|
||||||
qemu
|
qemu
|
||||||
sd
|
sd
|
||||||
sshfs
|
sshfs
|
||||||
taplo # toml lsp
|
taplo # toml lsp
|
||||||
tio
|
tio
|
||||||
tokei # repo code stats
|
tokei # repo code stats
|
||||||
typos
|
typos
|
||||||
|
|
||||||
# # databases
|
# # databases
|
||||||
# sqlite
|
# sqlite
|
||||||
# sqls
|
# sqls
|
||||||
# sqlx-cli
|
# sqlx-cli
|
||||||
# sea-orm-cli
|
# sea-orm-cli
|
||||||
# rainfrog
|
# rainfrog
|
||||||
|
|
||||||
# # arduino
|
# # arduino
|
||||||
# arduino-language-server
|
# arduino-language-server
|
||||||
# arduino-cli
|
# arduino-cli
|
||||||
# pkgsCross.avr.buildPackages.gcc
|
# pkgsCross.avr.buildPackages.gcc
|
||||||
# avrdude
|
# avrdude
|
||||||
# ravedude
|
# ravedude
|
||||||
|
|
||||||
# c
|
# c
|
||||||
clang
|
clang
|
||||||
clang-tools
|
clang-tools
|
||||||
gcc
|
gcc
|
||||||
gdb
|
gdb
|
||||||
gnumake
|
gnumake
|
||||||
|
|
||||||
# nix
|
# nix
|
||||||
nil
|
nil
|
||||||
alejandra
|
alejandra
|
||||||
|
|
||||||
# python
|
# python
|
||||||
# pypy3
|
# pypy3
|
||||||
python3
|
python3
|
||||||
uv
|
uv
|
||||||
ruff
|
ruff
|
||||||
|
|
||||||
# rust
|
# rust
|
||||||
cargo-binstall
|
cargo-binstall
|
||||||
bacon
|
bacon
|
||||||
cargo-expand
|
cargo-expand
|
||||||
cargo-feature
|
cargo-feature
|
||||||
cargo-generate
|
cargo-generate
|
||||||
cargo-watch
|
cargo-watch
|
||||||
elf2uf2-rs
|
elf2uf2-rs
|
||||||
flip-link
|
flip-link
|
||||||
mdbook
|
mdbook
|
||||||
mold-wrapped
|
mold-wrapped
|
||||||
probe-rs
|
probe-rs
|
||||||
rustup
|
rustup
|
||||||
rusty-man
|
rusty-man
|
||||||
sccache
|
sccache
|
||||||
trunk
|
trunk
|
||||||
wasm-bindgen-cli
|
wasm-bindgen-cli
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.flipperzero.enable = true;
|
hardware.flipperzero.enable = true;
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
||||||
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
|
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
storageDriver = "btrfs";
|
storageDriver = "btrfs";
|
||||||
};
|
};
|
||||||
# virtualisation.docker.rootless = {
|
# virtualisation.docker.rootless = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# setSocketVariable = true;
|
# setSocketVariable = true;
|
||||||
# };
|
# };
|
||||||
users.extraGroups.docker.members = ["tao"];
|
users.extraGroups.docker.members = ["tao"];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,9 @@
|
||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
# let
|
|
||||||
# if_desktop =
|
|
||||||
# if lib.strings.hasPrefix "NOcomputer" (builtins.readFile /etc/hostname)
|
|
||||||
# then true
|
|
||||||
# else false;
|
|
||||||
# in
|
|
||||||
{
|
|
||||||
# programs.noisetorch.enable = true;
|
|
||||||
# aagl.url = "github:ezKEa/aagl-gtk-on-nix";
|
# aagl.url = "github:ezKEa/aagl-gtk-on-nix";
|
||||||
# aagl.inputs.nixpkgs.follows = "nixpkgs";
|
# aagl.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
easyeffects
|
||||||
# parsec-bin
|
# parsec-bin
|
||||||
# yuzu # nintendo can suck the shit out of my asshole
|
# yuzu # nintendo can suck the shit out of my asshole
|
||||||
gamemode
|
gamemode
|
||||||
|
|
@ -58,50 +47,4 @@
|
||||||
groups = ["wheel"];
|
groups = ["wheel"];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
# THE FINALS audio borked
|
|
||||||
# services.pipewire.enable = !if_desktop;
|
|
||||||
# hardware.pulseaudio.enable = if_desktop;
|
|
||||||
# hardware.pulseaudio.support32Bit = if_desktop;
|
|
||||||
# services.pipewire.extraConfig = {
|
|
||||||
# pipewire."99-low-latency" = {
|
|
||||||
# context.properties = {
|
|
||||||
# default.allowed-rates = [44100 48000 96000 192000];
|
|
||||||
# default.clock.rate = 192000;
|
|
||||||
# default.clock.quantum = 32;
|
|
||||||
# default.clock.min-quantum = 32;
|
|
||||||
# default.clock.max-quantum = 32;
|
|
||||||
# };
|
|
||||||
# context.modules = [
|
|
||||||
# {
|
|
||||||
# name = "libpipewire-module-rt";
|
|
||||||
# args = {
|
|
||||||
# nice.level = -12;
|
|
||||||
# rt.prio = 89;
|
|
||||||
# rt.time.soft = 200000;
|
|
||||||
# rt.time.hard = 200000;
|
|
||||||
# };
|
|
||||||
# flags = ["ifexists nofail"];
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
# pipewire-pulse."99-low-latency" = {
|
|
||||||
# context.modules = [
|
|
||||||
# {
|
|
||||||
# name = "libpipewire-module-protocol-pulse";
|
|
||||||
# args = {
|
|
||||||
# pulse.min.req = "32/192000";
|
|
||||||
# pulse.default.req = "32/192000";
|
|
||||||
# pulse.max.req = "32/192000";
|
|
||||||
# pulse.min.quantum = "32/192000";
|
|
||||||
# pulse.max.quantum = "32/192000";
|
|
||||||
# };
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
# stream.properties = {
|
|
||||||
# node.latency = "32/192000";
|
|
||||||
# resample.quality = 1;
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,6 @@
|
||||||
services.smartd.enable = true;
|
services.smartd.enable = true;
|
||||||
# services.btrfs.autoScrub.enable = lib.mkDefault true;
|
# services.btrfs.autoScrub.enable = lib.mkDefault true;
|
||||||
|
|
||||||
# hardware.pulseaudio.enable = lib.mkDefault false;
|
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
|
|
|
||||||
|
|
@ -15,10 +15,10 @@
|
||||||
{
|
{
|
||||||
environment.etc."alsa-card-profile/analog-input-internal-mic.conf".source = ../extras/analog-input-internal-mic.conf;
|
environment.etc."alsa-card-profile/analog-input-internal-mic.conf".source = ../extras/analog-input-internal-mic.conf;
|
||||||
|
|
||||||
hardware.opengl.extraPackages = with pkgs; [
|
hardware.graphics.extraPackages = with pkgs; [
|
||||||
amdvlk
|
amdvlk
|
||||||
];
|
];
|
||||||
hardware.opengl.extraPackages32 = with pkgs; [
|
hardware.graphics.extraPackages32 = with pkgs; [
|
||||||
driversi686Linux.amdvlk
|
driversi686Linux.amdvlk
|
||||||
];
|
];
|
||||||
services.xserver.videoDrivers = [
|
services.xserver.videoDrivers = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue