diff options
author | Fugi <me@fugi.dev> | 2023-02-03 02:19:15 +0100 |
---|---|---|
committer | Fugi <me@fugi.dev> | 2023-02-03 02:19:15 +0100 |
commit | 8236410735c8c2fd74c031fec24794dd4529d99d (patch) | |
tree | f4416f541ca1cd37c881d93b3f8df9a0a86ad8b3 /pkgs/shells | |
parent | 70a0d6cd3e00d77860b751317b4c5e4b0e2db664 (diff) | |
download | nixpkgs-8236410735c8c2fd74c031fec24794dd4529d99d.tar nixpkgs-8236410735c8c2fd74c031fec24794dd4529d99d.tar.gz nixpkgs-8236410735c8c2fd74c031fec24794dd4529d99d.tar.bz2 nixpkgs-8236410735c8c2fd74c031fec24794dd4529d99d.tar.lz nixpkgs-8236410735c8c2fd74c031fec24794dd4529d99d.tar.xz nixpkgs-8236410735c8c2fd74c031fec24794dd4529d99d.tar.zst nixpkgs-8236410735c8c2fd74c031fec24794dd4529d99d.zip |
agdsn-zsh-config: init at 0.6.0
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/zsh/agdsn-zsh-config/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/agdsn-zsh-config/default.nix b/pkgs/shells/zsh/agdsn-zsh-config/default.nix new file mode 100644 index 00000000000..5fcad36035d --- /dev/null +++ b/pkgs/shells/zsh/agdsn-zsh-config/default.nix @@ -0,0 +1,34 @@ +{ lib, stdenvNoCC, fetchFromGitHub }: + +stdenvNoCC.mkDerivation rec { + pname = "agdsn-zsh-config"; + version = "0.6.0"; + + src = fetchFromGitHub { + owner = "agdsn"; + repo = "agdsn-zsh-config"; + rev = "v${version}"; + sha256 = "sha256-/l2fE4ZsZ6f89fYG9sTEV1mrXZ3MLXx6K3CTUQHiAsc="; + }; + + dontBuild = true; + + installPhase = '' + runHook preInstall + + install -D -m644 zshrc-base-hw.zsh "$out/etc/zsh/zshrc" + install -D -m644 zshrc-home.zsh "$out/etc/skel/.zshrc" + install -D -m644 zshrc-home.zsh "$out/etc/zsh/newuser.zshrc.recommended" + install -D -m644 profile-d-agdsn-zsh-config.sh "$out/etc/profile.d/agdsn-zsh-config.sh" + + runHook postInstall + ''; + + meta = with lib; { + description = "A modified version of the Grml Zsh configuration specialised for the needs of system administration"; + homepage = "https://github.com/agdsn/agdsn-zsh-config"; + license = licenses.gpl2Plus; + platforms = platforms.unix; + maintainers = with maintainers; [ fugi ]; + }; +} |