mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
Hosts now accept only the two CanoKeys' resident SSH keys for ryan, plus the romantic recovery key for root; per-host user keys stop working. Darwin builds work again: the shared base no longer sets nixpkgs.config next to nix-darwin's nixpkgs.pkgs. Assisted-by: DeepSeek Harness (claude-opus-5-5) Assisted-by: DeepSeek Harness (deepseek-flash)
33 lines
1008 B
Nix
33 lines
1008 B
Nix
{ config, ... }:
|
|
let
|
|
mkSymlink = config.lib.file.mkOutOfStoreSymlink;
|
|
in
|
|
{
|
|
imports = [
|
|
../../linux/gui.nix
|
|
./12kingdoms-shoukei/wluma.nix
|
|
];
|
|
|
|
modules.desktop.vinput.enable = true;
|
|
|
|
modules.desktop.gaming.enable = false;
|
|
modules.desktop.niri.enable = true;
|
|
|
|
# Laptop defaults: backlight 3 min, screen off 6 min, lock 20 min.
|
|
modules.desktop.hypridle = {
|
|
keyboardBacklightTimeout = 180;
|
|
screenOffTimeout = 360;
|
|
lockTimeout = 1200;
|
|
};
|
|
|
|
xdg.configFile."niri/niri-hardware.kdl".source =
|
|
mkSymlink "${config.home.homeDirectory}/nix-config/hosts/12kingdoms-shoukei/niri-hardware.kdl";
|
|
|
|
# Host-specific Noctalia config; sorts after the shared config.toml, so it can
|
|
# override the shared baseline.
|
|
xdg.configFile."noctalia/host-shoukei.toml".source = ./12kingdoms-shoukei/noctalia.toml;
|
|
|
|
# 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;
|
|
}
|