Files
nix-config/home/hosts/linux/idols-ai.nix
T
Ryan Yin 492dcb13fe fix(ai): match the wired NIC by prefix, not by name
Assisted-by: DeepSeek Harness (deepseek-flash)
2026-10-14 20:15:01 +08:00

44 lines
1.2 KiB
Nix

{
config,
...
}:
let
mkSymlink = config.lib.file.mkOutOfStoreSymlink;
in
{
imports = [
../../linux/gui.nix
];
modules.desktop.vinput.enable = true;
programs.ssh.settings."github.com".IdentityFile = "${config.home.homeDirectory}/.ssh/idols-ai";
modules.desktop.gaming.enable = true;
modules.desktop.niri.enable = true;
# PC: keep the screen on longer than on the laptop.
modules.desktop.hypridle = {
keyboardBacklightTimeout = 900;
screenOffTimeout = 1200;
lockTimeout = 1800;
};
programs.zed-editor.userSettings = {
ui_font_size = 18.0;
buffer_font_size = 17.0;
agent_ui_font_size = 18.0;
agent_buffer_font_size = 17.0;
};
xdg.configFile."niri/niri-hardware.kdl".source =
mkSymlink "${config.home.homeDirectory}/nix-config/hosts/idols-ai/niri-hardware.kdl";
# Keep Noctalia's network widgets on the physical uplink, not the Mihomo TUN
# (the interface name is in ./idols-ai/noctalia.toml and `hostsAddr.ai.iface`).
xdg.configFile."noctalia/host-ai.toml".source = ./idols-ai/noctalia.toml;
# The desktop speakers are already loud, so use the broadcast-standard -23 dB.
services.easyeffects.extraPresets."loudness-normalization".output."autogain#0".target = -23.0;
}