Reformat nix source file using nixfmt
This commit is contained in:
parent
2e4a532958
commit
9201969c1b
220 changed files with 3169 additions and 2487 deletions
|
|
@ -2,13 +2,17 @@
|
|||
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 = [
|
||||
|
|
@ -20,21 +24,26 @@ 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" ])
|
||||
]
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue