updated systemd-manager
This commit is contained in:
parent
f5179c8266
commit
4228cc4190
@ -134,6 +134,7 @@ in
|
|||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
(callPackage ./modules/systemd-manager_sovran_systems.nix {})
|
||||||
git
|
git
|
||||||
wget
|
wget
|
||||||
librewolf
|
librewolf
|
||||||
@ -145,7 +146,6 @@ in
|
|||||||
gnomeExtensions.pop-shell
|
gnomeExtensions.pop-shell
|
||||||
gnomeExtensions.just-perfection
|
gnomeExtensions.just-perfection
|
||||||
gnomeExtensions.appindicator
|
gnomeExtensions.appindicator
|
||||||
gnomeExtensions.systemd-manager
|
|
||||||
#gnomeExtensions.date-menu-formatter
|
#gnomeExtensions.date-menu-formatter
|
||||||
gnome.gnome-tweaks
|
gnome.gnome-tweaks
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
./bitcoinecosystem.nix
|
./bitcoinecosystem.nix
|
||||||
./vaultwarden.nix
|
./vaultwarden.nix
|
||||||
./Sovran_SystemsOS_File_Fixes_And_New_Services.nix
|
./Sovran_SystemsOS_File_Fixes_And_New_Services.nix
|
||||||
|
./systemd-manager_sovran_systems.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
41
modules/systemd-manager_sovran_systems.nix
Executable file
41
modules/systemd-manager_sovran_systems.nix
Executable file
@ -0,0 +1,41 @@
|
|||||||
|
{ lib, stdenv, fetchzip, buildPackages }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "systemd-manager";
|
||||||
|
version = "15";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/hardpixel/systemd-manager/releases/download/v${version}/systemd-manager-v${version}.zip";
|
||||||
|
hash = "sha256-IIiHvntAnaEJIiofNDOQXDKeJupyEMys32N8Qz1IfXk=";
|
||||||
|
stripRoot = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
extensionUuid = "systemd-manager@hardpixel.eu";
|
||||||
|
extensionPortalSlug = "systemd-manager";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ buildPackages.glib ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
if [ -d schemas ]; then
|
||||||
|
glib-compile-schemas --strict schemas
|
||||||
|
fi
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out/share/gnome-shell/extensions
|
||||||
|
cp -r -T . $out/share/gnome-shell/extensions/${passthru.extensionUuid}
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "GNOME Shell extension to manage systemd services";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
|
homepage = "https://github.com/hardpixel/systemd-manager";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user