Android : Enable Git signature read support.

This commit is contained in:
Dmitry Voronin 2024-04-14 23:58:48 +03:00 committed by Dmitry Voronin
parent 56e3f9ec6c
commit 9adc056f6a
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -13,47 +13,6 @@
foreground=#${style.color.fg.light}
'';
in {
# NOTE: Split into modules?
environment.packages = with pkgs; [
android-tools
binwalk
coreutils
curl
diffutils
ffmpeg
file
findutils
gawk
gcc
gdu
git
gnugrep
gnumake
gnused
gnutar
gzip
hostname
imagemagick
jq
lsof
man
neofetch
nmap
openssh
parallel
pv
ripgrep
rsync
sqlite
pkgs.tmux tmuxScript
tree
utillinux
wget
xz
yt-dlp
zip unzip
];
time.timeZone = const.timeZone;
nix.extraOptions = ''
experimental-features = nix-command flakes
@ -97,11 +56,14 @@ in {
git = {
enable = true;
extraConfig = {
credential.helper = "store";
init.defaultBranch = "main";
pull.rebase = true;
push.autoSetupRemote = true;
rebase.autoStash = true;
credential.helper = "store";
init.defaultBranch = "main";
pull.rebase = true;
push.autoSetupRemote = true;
rebase.autoStash = true;
user.signingkey = builtins.readFile secret.crypto.sign.key;
gpg.ssh.allowedSignersFile = toString(secret.crypto.sign.allowed);
gpg.format = secret.crypto.sign.format;
};
};
@ -118,4 +80,42 @@ in {
};
};
};
environment.packages = with pkgs; [
android-tools
binwalk
coreutils
curl
diffutils
ffmpeg
file
findutils
gawk
gcc
gdu
git
gnugrep
gnumake
gnused
gnutar
gzip xz
hostname
imagemagick
jq
lsof
man
nmap
openssh
parallel
pv
ripgrep
rsync
sqlite
pkgs.tmux tmuxScript
tree
utillinux
wget
yt-dlp
zip unzip
];
}