plq,europa: install gh and setup aliases for 1p
This commit is contained in:
parent
0294af58f0
commit
6c89a0fdcb
@ -99,11 +99,15 @@ in {
|
||||
polkitPolicyOwners = [ "qbit" ];
|
||||
};
|
||||
dconf.enable = true;
|
||||
zsh.shellAliases = {
|
||||
"nixpkgs-review" =
|
||||
"GITHUB_TOKEN=$(cat /run/secrets/nix_review) nixpkgs-review";
|
||||
"neomutt" = "neomutt -F /etc/neomuttrc";
|
||||
"mutt" = "neomutt -F /etc/neomuttrc";
|
||||
zsh = {
|
||||
shellInit = ''
|
||||
export OP_PLUGIN_ALIASES_SOURCED=1
|
||||
'';
|
||||
shellAliases = {
|
||||
"gh" = "op plugin run -- gh";
|
||||
"neomutt" = "neomutt -F /etc/neomuttrc";
|
||||
"mutt" = "neomutt -F /etc/neomuttrc";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user