deepin: move distribution.info back to deepin-desktop-base
This commit is contained in:
parent
bda32aac5c
commit
7e27869a75
2 changed files with 12 additions and 9 deletions
|
@ -96,18 +96,10 @@ in
|
||||||
"/share/dde-daemon"
|
"/share/dde-daemon"
|
||||||
"/share/dsg"
|
"/share/dsg"
|
||||||
"/share/deepin-themes"
|
"/share/deepin-themes"
|
||||||
|
"/share/deepin"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.etc = {
|
environment.etc = {
|
||||||
"distribution.info".text = ''
|
|
||||||
[Distribution]
|
|
||||||
Name=NixOS
|
|
||||||
WebsiteName=www.nixos.org
|
|
||||||
Website=https://www.nixos.org
|
|
||||||
Logo=${pkgs.nixos-icons}/share/icons/hicolor/96x96/apps/nix-snowflake.png
|
|
||||||
LogoLight=${pkgs.nixos-icons}/share/icons/hicolor/32x32/apps/nix-snowflake.png
|
|
||||||
LogoTransparent=${pkgs.deepin.deepin-desktop-base}/share/pixmaps/distribution_logo_transparent.svg
|
|
||||||
'';
|
|
||||||
"deepin-installer.conf".text = ''
|
"deepin-installer.conf".text = ''
|
||||||
system_info_vendor_name="Copyright (c) 2003-2023 NixOS contributors"
|
system_info_vendor_name="Copyright (c) 2003-2023 NixOS contributors"
|
||||||
'';
|
'';
|
||||||
|
@ -156,6 +148,7 @@ in
|
||||||
deepin-sound-theme
|
deepin-sound-theme
|
||||||
deepin-gtk-theme
|
deepin-gtk-theme
|
||||||
deepin-wallpapers
|
deepin-wallpapers
|
||||||
|
deepin-desktop-base
|
||||||
|
|
||||||
startdde
|
startdde
|
||||||
dde-dock
|
dde-dock
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ stdenvNoCC
|
{ stdenvNoCC
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, nixos-icons
|
||||||
}:
|
}:
|
||||||
stdenvNoCC.mkDerivation rec {
|
stdenvNoCC.mkDerivation rec {
|
||||||
pname = "deepin-desktop-base";
|
pname = "deepin-desktop-base";
|
||||||
|
@ -24,6 +25,15 @@ stdenvNoCC.mkDerivation rec {
|
||||||
mv $out/usr/* $out/
|
mv $out/usr/* $out/
|
||||||
rm -r $out/usr
|
rm -r $out/usr
|
||||||
install -D ${./distribution_logo_transparent.svg} $out/share/pixmaps/distribution_logo_transparent.svg
|
install -D ${./distribution_logo_transparent.svg} $out/share/pixmaps/distribution_logo_transparent.svg
|
||||||
|
cat > $out/share/deepin/distribution.info <<EOF
|
||||||
|
[Distribution]
|
||||||
|
Name=NixOS
|
||||||
|
WebsiteName=www.nixos.org
|
||||||
|
Website=https://www.nixos.org
|
||||||
|
Logo=${nixos-icons}/share/icons/hicolor/96x96/apps/nix-snowflake.png
|
||||||
|
LogoLight=${nixos-icons}/share/icons/hicolor/32x32/apps/nix-snowflake.png
|
||||||
|
LogoTransparent=$out/share/pixmaps/distribution_logo_transparent.svg
|
||||||
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue