26 lines
568 B
Nix
26 lines
568 B
Nix
{lib, stdenv, ...}: stdenv.mkDerivation {
|
|
name = "dotfiles";
|
|
version = "0.1.0";
|
|
|
|
src = builtins.fetchGit {
|
|
url = "git@git.nirgendwo.xyz:janis/dotfiles.git";
|
|
rev = "1af2254ee4d278305d9a8b9d6eb28a4bfc79162c";
|
|
};
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out
|
|
cp -r . $out
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://git.nirgendwo.xyz/janis/dotfiles";
|
|
description = "My personal dotfiles";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|