1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 12:01:06 +01:00

kropsify some more

This commit is contained in:
Kierán Meinhardt
2019-04-11 07:43:08 +02:00
parent b9a6f33aa4
commit 60a08c6783
24 changed files with 72 additions and 59 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ config, pkgs, lib, ... }:
let
zsh-plugins-file =
pkgs.writeText "zsh_plugins.txt" (lib.concatStringsSep "\n" [
@@ -69,7 +69,7 @@ in {
export KEYTIMEOUT=1
hash -d nixos=/etc/nixos
hash -d nixos=/etc/nixos niveum=${config.users.users.kfm.home}/prog/git/niveum
autoload -U zmv run-help
@@ -77,6 +77,12 @@ in {
mkdir $1
cd $1
}
niveum-deploy() {
for system in "$@"; do
eval $(nix-build ~niveum/deploy.nix -A "$system")
done
}
'';
promptInit = ''
autoload -Uz vcs_info