Skip to content

Commit

Permalink
feat(git): add signature using GPG
Browse files Browse the repository at this point in the history
Signed-off-by: Léo DUBOIN <[email protected]>
  • Loading branch information
d4ilyrun committed Mar 22, 2024
1 parent 14fee7f commit 58fe448
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions applications/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
ca = "commit --amend";
ce = "commit --allow-empty";
cf = "commit --fixup";
cs = "commit --signoff -S";

# rebase
rb = "rebase";
Expand Down
14 changes: 11 additions & 3 deletions config/minimal/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,16 @@ rec {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;

programs.command-not-found = {
enable = false; # FIXME: no programs.sqlite when working with a flake
dbPath = "${pkgs.config.outPath}/programs.sqlite";
programs = {
gnupg.agent = {
enable = true;
pinentryFlavor = "curses";
enableSSHSupport = true;
};
command-not-found = {
enable = false; # FIXME: no programs.sqlite when working with a flake
dbPath = "${pkgs.config.outPath}/programs.sqlite";
};
};

environment.systemPackages = with pkgs; [
Expand Down Expand Up @@ -58,6 +65,7 @@ rec {
services = {
openssh.enable = true;
printing.enable = true;
pcscd.enable = true;
logind.extraConfig = ''
# don’t shutdown when power button is short-pressed
HandlePowerKey=ignore
Expand Down

0 comments on commit 58fe448

Please sign in to comment.