dotfiles/nixos/users.nix
Bart van der Braak ab338d3b15
Big refactor (#8)
* Update to 24.11 channel and add `ghostty`

* full restructure

* minor changes

* fix issues

* fixes and improvements

* Add back some old config

* working example for now
2025-01-21 22:26:22 +01:00

71 lines
No EOL
1.6 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
# 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"
];
programs._1password.enable = true;
programs._1password-gui = {
enable = true;
# Certain features, including CLI integration and system authentication support,
# require enabling PolKit integration on some desktop environments (e.g. Plasma).
polkitPolicyOwners = [ "bart" ];
};
# 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;
};
}