mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
split config and pkgs in separate folders
This commit is contained in:
parent
ab3ece7522
commit
b8149f88ed
9 changed files with 112 additions and 17 deletions
18
pkgs/homer/default.nix
Normal file
18
pkgs/homer/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ stdenv, fetchzip }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "homer";
|
||||
version = "22.07.2";
|
||||
|
||||
src = fetchzip {
|
||||
urls = [
|
||||
"https://github.com/bastienwirtz/homer/releases/download/v${version}/homer.zip"
|
||||
];
|
||||
sha256 = "sha256-rmCqjWn7bbTESmOHTO5H7YVyZzny617pI0VdSlsqYGI=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
cp -r $src $out/
|
||||
'';
|
||||
sourceRoot = ".";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue