mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-09-14 13:51:46 +02:00
Desktop speakers on idols-ai use the EBU R128 broadcast standard (-23 dB), while the quiet built-in laptop speakers on 12kingdoms-shoukei keep -12 dB. Move the target out of the shared preset so each host sets its own value.
23 lines
716 B
Nix
23 lines
716 B
Nix
{ config, ... }:
|
|
let
|
|
hostName = "shoukei"; # Define your hostname.
|
|
mkSymlink = config.lib.file.mkOutOfStoreSymlink;
|
|
in
|
|
{
|
|
imports = [
|
|
../../linux/gui.nix
|
|
./12kingdoms-shoukei/wluma.nix
|
|
];
|
|
|
|
programs.ssh.settings."github.com".IdentityFile = "${config.home.homeDirectory}/.ssh/${hostName}";
|
|
|
|
modules.desktop.gaming.enable = false;
|
|
modules.desktop.niri.enable = true;
|
|
|
|
xdg.configFile."niri/niri-hardware.kdl".source =
|
|
mkSymlink "${config.home.homeDirectory}/nix-config/hosts/12kingdoms-shoukei/niri-hardware.kdl";
|
|
|
|
# The built-in laptop speakers are quiet, so boost above the -23 dB default.
|
|
services.easyeffects.extraPresets."loudness-normalization".output."autogain#0".target = -12.0;
|
|
}
|