dotfiles/tongfang/nixos/users.nix
Bart van der Braak eb03cea175 Add GPG
2024-10-21 16:37:47 +02:00

47 lines
910 B
Nix

{ config, pkgs, ... }:
{
users.users.bart = {
isNormalUser = true;
description = "Bart van der Braak";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
vscodium
thunderbird
fastfetch
wezterm
neovim
logseq
element-desktop
go-task
opentofu
python3
gnumake
spotify
_1password-gui
nodejs_22
corepack_22
azure-cli
sops
blender
];
};
nixpkgs.config.permittedInsecurePackages = [
# Workaround for electron dependency in Logseq
"electron-27.3.11"
];
# SSH agent configuration
programs.ssh.startAgent = true;
programs.ssh.extraConfig = ''
Host *
AddKeysToAgent yes
ServerAliveInterval 60
ServerAliveCountMax 3
'';
# GPG agent configuration
programs.gnupg.agent.enable = true;
programs.gnupg.dirmngr.enable = true;
}