{ config, ... }: let mkSymlink = config.lib.file.mkOutOfStoreSymlink; in { imports = [ ../../linux/gui.nix ]; modules.desktop.vinput.enable = true; 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; }