27 lines
586 B
Nix
27 lines
586 B
Nix
{lib, stdenv, ...}: stdenv.mkDerivation {
|
|
name = "dotfiles";
|
|
version = "0.1.0";
|
|
|
|
src = builtins.fetchGit {
|
|
url = "git@git.nirgendwo.xyz:janis/dotfiles.git";
|
|
rev = "56cf6dd4efac92527f465a864b2b155833b364ee";
|
|
ref = "main";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|