Add dmenu_sys and dmenu_timer
This commit is contained in:
parent
79ebdaeba9
commit
8acc393fa0
5 changed files with 80 additions and 6 deletions
26
modules/dmenu-sys.nix
Normal file
26
modules/dmenu-sys.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
flake.modules.homeManager.gui =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
(pkgs.stdenv.mkDerivation rec {
|
||||
pname = "dmenu_sys";
|
||||
version = "unstable";
|
||||
|
||||
src = inputs.bop-scripts;
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
buildInputs = with pkgs; [ dmenu ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp $src/${pname} $out/bin
|
||||
chmod +x $out/bin/${pname}
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue