feat: Change nix formatter to alejandra

This commit is contained in:
ulic-youthlic 2025-11-09 06:25:03 +08:00
parent 0b8b647f05
commit b4c3dfec42
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
229 changed files with 2528 additions and 2884 deletions

View file

@ -2,17 +2,13 @@
config,
inputs,
...
}:
let
}: let
inherit (inputs.niri-flake.lib.kdl) node leaf flag;
in
{
in {
david.programs.niri = {
waybar.settings =
let
cfg = config.david.programs.niri.waybar;
in
[ (cfg.template // (cfg.helper.mkBacklight "intel_backlight") // { output = "eDP-1"; }) ];
waybar.settings = let
cfg = config.david.programs.niri.waybar;
in [(cfg.template // (cfg.helper.mkBacklight "intel_backlight") // {output = "eDP-1";})];
wluma.extraSettings = {
output = {
backlight = [
@ -24,26 +20,25 @@ in
];
};
};
extraConfig =
let
output = node "output";
in
[
(output
[ "eDP-1" ]
[
(leaf "mode" [ "1920x1200@60.018" ])
(leaf "scale" [ 1.0 ])
(flag "focus-at-startup")
(leaf "position" [
{
x = 0;
y = 0;
}
])
(leaf "transform" [ "normal" ])
]
)
];
extraConfig = let
output = node "output";
in [
(
output
["eDP-1"]
[
(leaf "mode" ["1920x1200@60.018"])
(leaf "scale" [1.0])
(flag "focus-at-startup")
(leaf "position" [
{
x = 0;
y = 0;
}
])
(leaf "transform" ["normal"])
]
)
];
};
}