🚀 add nixpkgs-review

This commit is contained in:
Moritz Böhme 2022-04-18 12:23:45 +02:00
parent 6ef495a62e
commit 99f4778de2
No known key found for this signature in database
GPG key ID: 213820E2795F5CF5
3 changed files with 24 additions and 0 deletions

View file

@ -47,6 +47,10 @@
"doas nixos-rebuild dry-activate --flake ~/.dotfiles --recreate-lock-file";
emacs = editor;
nixpkgs-pr = "nixpkgs-review pr --token ${
if (config.modules.cli.shell.name == "fish") then "" else "$"
}(cat /run/agenix/github)";
};
variables = { EDITOR = editor; };
};
@ -75,6 +79,7 @@
# utility
cht-sh
nixpkgs-review
];
programs = {
bat.enable = true;
@ -85,4 +90,10 @@
starship.enable = true;
};
};
age.secrets = {
github = {
file = ../../secrets/github.age;
owner = "1000";
};
};
}