dotfiles/tongfang/nixos/users.nix
2024-10-29 09:02:39 +01:00

58 lines
1.2 KiB
Nix

{ config, pkgs, ... }:
{
users.users.bart = {
isNormalUser = true;
description = "Bart van der Braak";
extraGroups = [ "networkmanager" "wheel" "docker" ];
packages = with pkgs; [
vscodium
thunderbird
fastfetch
wezterm
neovim
logseq
element-desktop
go-task
opentofu
python3
gnumake
gccgo
_1password-gui
# nodejs_22
# corepack_22
azure-cli
sops
blender
nixfmt-rfc-style
];
};
# Enable discovery of Google Cast and Spotify Connect devices
networking.firewall.allowedUDPPorts = [ 5353 ];
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;
# Add Docker support
virtualisation.docker.enable = true;
virtualisation.docker.rootless = {
enable = true;
setSocketVariable = true;
};
}