plq,europa: install gh and setup aliases for 1p

This commit is contained in:
Aaron Bieber 2022-12-22 10:09:24 -07:00
parent 0294af58f0
commit 6c89a0fdcb
No known key found for this signature in database
2 changed files with 21 additions and 6 deletions

View File

@ -99,13 +99,17 @@ in {
polkitPolicyOwners = [ "qbit" ];
};
dconf.enable = true;
zsh.shellAliases = {
"nixpkgs-review" =
"GITHUB_TOKEN=$(cat /run/secrets/nix_review) nixpkgs-review";
zsh = {
shellInit = ''
export OP_PLUGIN_ALIASES_SOURCED=1
'';
shellAliases = {
"gh" = "op plugin run -- gh";
"neomutt" = "neomutt -F /etc/neomuttrc";
"mutt" = "neomutt -F /etc/neomuttrc";
};
};
};
services = {
vnstat.enable = true;

View File

@ -12,7 +12,17 @@ in {
networking.hostName = "plq";
programs.zsh.enable = true;
programs = {
zsh = {
enable = true;
shellInit = ''
export OP_PLUGIN_ALIASES_SOURCED=1
'';
shellAliases = {
"gh" = "op plugin run -- gh";
};
};
};
services.nix-daemon.enable = true;
nix.package = pkgs.nix;
@ -50,6 +60,7 @@ in {
nixpkgs-review
direnv
gh
go
mosh
neovim