mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
add pop-shell gnome extension
This commit is contained in:
parent
72fea7bb9f
commit
de49dbffbe
2 changed files with 22 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
dash-to-panel
|
||||
drop-down-terminal
|
||||
sound-output-device-chooser
|
||||
(callPackage extensions/pop-shell.nix { })
|
||||
]);
|
||||
};
|
||||
|
||||
|
|
21
modules/gnome/extensions/pop-shell.nix
Normal file
21
modules/gnome/extensions/pop-shell.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, fetchFromGitHub, glib, nodePackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pop-shell";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pop-os";
|
||||
repo = "shell";
|
||||
rev = version;
|
||||
sha256 = "0nws28w40xpwhgdpcifzys1md4h6a7q5k3wcn2a77z5m26g69zw2";
|
||||
};
|
||||
|
||||
preInstall = ''
|
||||
mkdir $out
|
||||
ln -s $out ./usr
|
||||
export DESTDIR="$(pwd)"
|
||||
'';
|
||||
|
||||
buildInputs = [ glib nodePackages.typescript ];
|
||||
}
|
Loading…
Reference in a new issue