mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-02-22 12:55:33 +08:00
27 lines
641 B
Nix
27 lines
641 B
Nix
{ config, ... }:
|
|
let
|
|
extraConfig =
|
|
# kdl
|
|
''
|
|
overview {
|
|
zoom 0.36
|
|
}
|
|
'';
|
|
finalNiriConfig =
|
|
with config.lib.stylix.colors.withHashtag;
|
|
builtins.replaceStrings
|
|
[
|
|
"output \"${config.lib.monitors.mainMonitorName}\" {"
|
|
"background-color \"${base01}\""
|
|
]
|
|
[
|
|
"output \"${config.lib.monitors.mainMonitorName}\" {\nfocus-at-startup"
|
|
"background-color \"${base01}\"\n backdrop-color \"${base02}\""
|
|
]
|
|
config.programs.niri.finalConfig
|
|
+ "\n"
|
|
+ extraConfig;
|
|
in
|
|
{
|
|
home.file.".config/niri/config-override.kdl".text = finalNiriConfig;
|
|
}
|