trying to get niri to show up in dm
This commit is contained in:
parent
fee9889d81
commit
243dbe3050
3 changed files with 505 additions and 167 deletions
|
@ -1,5 +1,21 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }:
|
||||||
environment.systemPackages = [
|
{
|
||||||
(pkgs.callPackage ./niri {})
|
services.xserver.displayManager.sessionPackages = [
|
||||||
|
((pkgs.callPackage ./niri {}).overrideAttrs (prevAttrs: rec {
|
||||||
|
postInstall =
|
||||||
|
let
|
||||||
|
niriSession = ''
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=niri
|
||||||
|
Comment=Scrolling wayland compositor
|
||||||
|
Exec=niri
|
||||||
|
Type=Application
|
||||||
|
'';
|
||||||
|
in ''
|
||||||
|
mkdir -p $out/share/wayland-sessions
|
||||||
|
echo "${niriSession}" > $out/share/wayland-sessions/niri.desktop
|
||||||
|
'';
|
||||||
|
passthru.providedSessions = [ "niri" ];
|
||||||
|
}))
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
647
modules/niri/niri/Cargo.lock
generated
647
modules/niri/niri/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -22,10 +22,11 @@ rustPlatform.buildRustPackage {
|
||||||
hash = "sha256-mDeJh3N6Zt3FNpyFmRkY8zOLIBad3CoV45WjB+RUkhA=";
|
hash = "sha256-mDeJh3N6Zt3FNpyFmRkY8zOLIBad3CoV45WjB+RUkhA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
outputHashes = {
|
outputHashes = {
|
||||||
"smithay-0.3.0" = "sha256-cRBJ8r2fQ8d97DADOxfmUF5JYcOHQ05u8tMhVXmbrbE=";
|
"smithay-0.3.0" = "sha256-1BEJEdmGCt6jtPEcBt4R1d/LdKWLLJYJpcOn4SbvkRk=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue