2020-09-27 14:27:25 +02:00
|
|
|
{
|
2024-05-26 16:45:38 +02:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2020-09-27 14:27:25 +02:00
|
|
|
|
2024-05-26 16:45:38 +02:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./shell
|
|
|
|
./editors/lsp.nix
|
|
|
|
./editors/helix
|
|
|
|
./git.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
fh
|
|
|
|
ncurses
|
|
|
|
];
|
2020-09-27 14:27:25 +02:00
|
|
|
|
2022-02-08 00:02:44 +01:00
|
|
|
programs.gpg.enable = true;
|
2020-09-27 14:27:25 +02:00
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
enableSshSupport = true;
|
2022-01-20 17:00:17 +01:00
|
|
|
# use auth subkey's keygrip: gpg2 -K --with-keygrip
|
|
|
|
sshKeys = [ "3C48489F3B0FBB44E72180D4B1D7541C201C9987" ];
|
2020-09-27 14:27:25 +02:00
|
|
|
defaultCacheTtl = 600;
|
|
|
|
defaultCacheTtlSsh = 600;
|
2024-05-26 17:35:11 +02:00
|
|
|
pinentryPackage = pkgs.pinentry-curses;
|
2020-09-27 14:27:25 +02:00
|
|
|
};
|
2022-03-30 00:04:35 +02:00
|
|
|
programs.zsh.initExtra = ''
|
|
|
|
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
|
|
|
|
'';
|
2020-09-27 14:27:25 +02:00
|
|
|
|
2024-04-30 23:41:01 +02:00
|
|
|
programs.zellij.enableZshIntegration = lib.mkForce false;
|
|
|
|
|
2023-09-30 02:36:46 +02:00
|
|
|
programs.ssh.enable = true;
|
|
|
|
|
2022-02-08 00:02:44 +01:00
|
|
|
programs.git.defaultProfile = "private";
|
2020-09-27 14:27:25 +02:00
|
|
|
|
|
|
|
xdg.configFile."nixpkgs/config.nix".text = ''
|
|
|
|
{
|
|
|
|
allowUnfree = true;
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
|
2024-12-08 18:38:11 +01:00
|
|
|
home.stateVersion = "24.11";
|
2020-09-27 14:27:25 +02:00
|
|
|
}
|