Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
66 lines
1.3 KiB
Nix
66 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
meson,
|
|
ninja,
|
|
nixos-artwork,
|
|
glib,
|
|
pkg-config,
|
|
dbus,
|
|
polkit,
|
|
accountsservice,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "elementary-default-settings";
|
|
version = "8.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = "default-settings";
|
|
rev = version;
|
|
sha256 = "sha256-GUq7kXaidzvqbyeVh4ihcxRqZXOzZO3WMXEe8lf477I=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
glib # glib-compile-schemas
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
accountsservice
|
|
dbus
|
|
polkit
|
|
];
|
|
|
|
mesonFlags = [
|
|
"--sysconfdir=${placeholder "out"}/etc"
|
|
"-Ddefault-wallpaper=${nixos-artwork.wallpapers.simple-dark-gray.gnomeFilePath}"
|
|
# Do not ship elementary OS specific config files.
|
|
"-Dapparmor-profiles=false"
|
|
"-Dgeoclue=false"
|
|
];
|
|
|
|
postFixup = ''
|
|
# https://github.com/elementary/default-settings/issues/55
|
|
rm -r $out/share/cups
|
|
rm -r $out/share/applications
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Default settings and configuration files for elementary";
|
|
homepage = "https://github.com/elementary/default-settings";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
teams = [ teams.pantheon ];
|
|
};
|
|
}
|