1
0
mirror of https://github.com/kmein/niveum synced 2026-03-19 11:31:09 +01:00

niveum-update, urxvt

This commit is contained in:
Kierán Meinhardt
2019-04-14 21:27:56 +02:00
parent e13ed72d57
commit 11e322e275
3 changed files with 13 additions and 11 deletions

View File

@@ -29,13 +29,14 @@ let
in {
environment.shellAliases = {
ns = "nix-shell --run zsh";
niveum-switch = "sudo -i nixos-rebuild --fast switch";
niveum-upgrade = "sudo -i nix-channel --update && sudo -i nixos-rebuild switch";
# niveum-switch = "sudo -i nixos-rebuild --fast switch";
# niveum-upgrade = "sudo -i nix-channel --update && sudo -i nixos-rebuild switch";
nixi = ''nix repl "<nixpkgs>"'';
grep = "grep --color=auto";
rm = "rm -i";
cp = "cp -i";
mv = "mv -i";
niveum-update = "nix-prefetch-git --url https://github.com/NixOS/nixpkgs-channels --rev refs/heads/nixos-18.09 > ~niveum/nixpkgs.json";
};
environment.interactiveShellInit = "export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin";
@@ -83,13 +84,6 @@ in {
eval $(nix-build ~niveum/deploy.nix -A "$system") &
done
}
niveum-update() {
nix-prefetch-git \ ~master
--url https://github.com/NixOS/nixpkgs-channels \
--rev refs/heads/nixos-18.09 \
> ~niveum/nixpkgs.json
}
'';
promptInit = ''
autoload -Uz vcs_info