alejandra
This commit is contained in:
parent
7cbdcdcd87
commit
4d0ee4459a
12 changed files with 331 additions and 341 deletions
|
|
@ -7,7 +7,7 @@
|
|||
with lib; let
|
||||
cfg = config.displays;
|
||||
|
||||
renderDisplaysForHyprland = displays: (map displayHyprlandSetting (builtins.filter (d: d.enable) displays ));
|
||||
renderDisplaysForHyprland = displays: (map displayHyprlandSetting (builtins.filter (d: d.enable) displays));
|
||||
|
||||
displayHyprlandSetting = display:
|
||||
specificDisplay display
|
||||
|
|
|
|||
|
|
@ -12,5 +12,8 @@ in {
|
|||
type = lib.types.oneOf ["hyprland" "sway"];
|
||||
};
|
||||
|
||||
config = if opt == "hyprland" then (import ../programs/hyprland.nix {inherit user;} {inherit lib pkgs;}) else {};
|
||||
config =
|
||||
if opt == "hyprland"
|
||||
then (import ../programs/hyprland.nix {inherit user;} {inherit lib pkgs;})
|
||||
else {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue