add pipewire auto gain control block; update to 25.05; add wireshark gui; ryubing->stable; nerd-fonts new packaging; godot-mono->stable; update vscode

This commit is contained in:
2025-05-22 15:18:30 +01:00
parent 64eae63335
commit 95608f2bfa
8 changed files with 123 additions and 91 deletions

View File

@@ -51,6 +51,30 @@
services.pipewire = {
enable = true;
pulse.enable = true;
extraConfig.pipewire-pulse = {
"10-prevent-agc" = {
"pulse.rules" = [
{
matches = [
{ "application.process.binary" = "chrome"; }
{ "application.process.binary" = "Discord"; }
{ "application.process.binary" = "teams"; }
{ "application.process.binary" = "electron"; }
{ "application.process.binary" = "skypeforlinux"; }
{ "application.process.binary" = "telegram-desktop"; }
{ "application.process.binary" = "vivaldi"; }
{ "application.process.binary" = "chromium"; }
{ "application.process.binary" = "zoom"; }
];
actions = {
quirks = [
"block-source-volume"
];
};
}
];
};
};
};
services.fstrim.enable = true;

View File

@@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page, on
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ inputs, ... }:
{ inputs, pkgs, ... }:
{
imports =
@@ -42,9 +42,10 @@
hardware.tuxedo-drivers.enable = true;
programs.nix-ld.enable = true;
programs.wireshark = {
enable = true;
package = pkgs.wireshark;
dumpcap.enable = true;
};
# Define a user account. Don't forget to set a password with passwd.

View File

@@ -1,17 +1,21 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11?shallow=1";
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05?shallow=1";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable?shallow=1";
nixos-hardware.url = "github:NixOS/nixos-hardware/master?shallow=1";
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions?shallow=1";
# use by inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".[package name]
home-manager = {
url = "github:nix-community/home-manager/release-24.11?shallow=1";
url = "github:nix-community/home-manager/release-25.05?shallow=1";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master?shallow=1";
disko = {
url = "github:nix-community/disko?shallow=1";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions?shallow=1";
system-manager = {
url = "github:numtide/system-manager?shallow=1";
inputs.nixpkgs.follows = "nixpkgs";

View File

@@ -5,7 +5,7 @@
liberation_ttf
ubuntu-sans
ubuntu-sans-mono
(nerdfonts.override { fonts = [ "SpaceMono" ]; })
nerd-fonts.space-mono
];
fonts.fontconfig = {

View File

@@ -24,7 +24,7 @@ with lib;
config = {
home.packages = with pkgs;[
blesh
(nerdfonts.override { fonts = [ "SpaceMono" ]; })
nerd-fonts.space-mono
];
programs = {
@@ -95,6 +95,7 @@ with lib;
enableBashIntegration = true;
settings = {
theme = "dracula";
show_startup_tips = false;
};
};

View File

@@ -1,17 +1,17 @@
{ pkgs, inputs, ... }:
{ pkgs, ... }:
{
home.packages = with pkgs;[
jetbrains.rider
# Remove when https://github.com/NixOS/nixpkgs/issues/393332 resolved (likely when 25.05 is out)
# godot-mono
(symlinkJoin {
name = "godot-mono";
paths = [ inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".godot-mono ];
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/godot4-mono --set DOTNET_SYSTEM_GLOBALIZATION_INVARIANT 1
'';
})
godot-mono
# (symlinkJoin {
# name = "godot-mono";
# paths = [ inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".godot-mono ];
# buildInputs = [ makeWrapper ];
# postBuild = ''
# wrapProgram $out/bin/godot4-mono --set DOTNET_SYSTEM_GLOBALIZATION_INVARIANT 1
# '';
# })
];
}

View File

@@ -6,17 +6,18 @@ let
in
{
home.packages = with pkgs;[
(nerdfonts.override { fonts = [ "SpaceMono" ]; })
nerd-fonts.space-mono
];
programs = {
vscode = {
enable = true;
package = inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".vscodium;
package = pkgs.vscodium;
mutableExtensionsDir = false;
profiles.default = {
enableUpdateCheck = false;
enableExtensionUpdateCheck = false;
extensions = with openvsx;[
extensions = (with openvsx;[
biomejs.biome
mkhl.direnv
dracula-theme.theme-dracula
@@ -34,7 +35,7 @@ in
rust-lang.rust-analyzer
tamasfe.even-better-toml
mikestead.dotenv
] ++ [ vscode-marketplace.bradlc.vscode-tailwindcss ];
]) ++ (with vscode-marketplace;[ bradlc.vscode-tailwindcss ]);
userSettings = with pkgs;{
"workbench.iconTheme" = "material-icon-theme";
"window.titleBarStyle" = "custom";
@@ -89,5 +90,6 @@ in
};
};
};
};
}

View File

@@ -1,10 +1,10 @@
{ inputs, pkgs, ... }:
{ pkgs, ... }:
{
home.packages = with pkgs;[
steamguard-cli
bottles
inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".ryubing
ryubing
mgba
scanmem
heroic