nix/modules/apps/norm/nemo/default.nix

25 lines
557 B
Nix
Raw Normal View History

2024-09-14 21:25:34 +02:00
{
pkgs,
lib,
...
}: {
environment.systemPackages = [
(let
packagesWithSchemas = [
pkgs.nemo
];
in
pkgs.runCommand "ngsettings" {
nativeBuildInputs = [
pkgs.makeWrapper
];
} ''
mkdir -p "$out/bin"
# Creates ngsettings program (wrapped gsettings)
makeWrapper "${pkgs.glib.bin}/bin/gsettings" "$out/bin/ngsettings" \
--set XDG_DATA_DIRS "${lib.concatMapStringsSep ":" pkgs.glib.getSchemaDataDirPath packagesWithSchemas}"
'')
pkgs.nemo
2024-09-14 15:34:06 +02:00
];
}