niri: formatting
This commit is contained in:
parent
c4c770e703
commit
000f4aa56b
1 changed files with 81 additions and 71 deletions
|
@ -11,10 +11,11 @@ let
|
|||
inherit (config.modules.system) isGraphical;
|
||||
inherit (config.meta.mainUser) username;
|
||||
|
||||
|
||||
cfg = config.modules.desktops.niri;
|
||||
|
||||
niri = pkgs.callPackage (_: pkgs.rustPlatform.buildRustPackage {
|
||||
niri = pkgs.callPackage (
|
||||
_:
|
||||
pkgs.rustPlatform.buildRustPackage {
|
||||
pname = "niri";
|
||||
version = "unstable";
|
||||
|
||||
|
@ -32,6 +33,7 @@ let
|
|||
|
||||
strictDeps = true;
|
||||
doInstallCheck = false;
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
rustPlatform.bindgenHook
|
||||
|
@ -86,6 +88,12 @@ let
|
|||
"-lwayland-client"
|
||||
"-Wl,--pop-state"
|
||||
]
|
||||
++ [
|
||||
"-Ctarget-cpu=native"
|
||||
"-Cpanic=abort"
|
||||
"-Clto=thin"
|
||||
"-Cembed-bitcode=yes"
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -95,7 +103,8 @@ let
|
|||
|
||||
meta.mainProgram = "niri";
|
||||
|
||||
}) { };
|
||||
}
|
||||
) { };
|
||||
in
|
||||
{
|
||||
options.modules.desktops.niri.enable = mkEnableOption "Niri, a scolling tiling wayland compositor";
|
||||
|
@ -117,6 +126,7 @@ in
|
|||
avizo
|
||||
playerctl
|
||||
wl-clipboard
|
||||
fuzzel
|
||||
;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue