mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-01 04:57:55 +00:00
37 lines
748 B
Nix
37 lines
748 B
Nix
|
{ stdenv
|
||
|
, lib
|
||
|
, meson
|
||
|
, ninja
|
||
|
, pkg-config
|
||
|
|
||
|
# This is the prefix used for the installed files in the output.
|
||
|
, prefix ? "one.foodogsquared.MoseyBranch"
|
||
|
, serviceScript ? "Hyprland"
|
||
|
, sessionScript ? "gnome-session --session=mosey-branch"
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "mosey-branch-custom-desktop-session";
|
||
|
version = "2023-08-11";
|
||
|
|
||
|
src = ./.;
|
||
|
nativeBulidInputs = [
|
||
|
meson
|
||
|
ninja
|
||
|
pkg-config
|
||
|
];
|
||
|
|
||
|
mesonFlags = [
|
||
|
"-Dsession_script=${sessionScript}"
|
||
|
"-Dservice_script=${serviceScript}"
|
||
|
];
|
||
|
|
||
|
passthru.providedSessions = [ "mosey-branch" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "Custom desktop files for the custom desktop environment";
|
||
|
license = licenses.gpl3Plus;
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|