mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-04-27 06:31:20 +00:00
64 lines
1.3 KiB
Nix
64 lines
1.3 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
users.users.bart = {
|
|
isNormalUser = true;
|
|
description = "Bart van der Braak";
|
|
extraGroups = [ "networkmanager" "wheel" "libvirtd" "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
|
|
inkscape
|
|
gimp
|
|
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 KVM support
|
|
virtualisation.libvirtd.enable = true;
|
|
programs.virt-manager.enable = true;
|
|
|
|
# Add Docker support
|
|
virtualisation.docker.enable = true;
|
|
virtualisation.docker.rootless = {
|
|
enable = true;
|
|
setSocketVariable = true;
|
|
};
|
|
}
|