mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-06-28 12:19:09 +00:00
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
This commit is contained in:
parent
5ac124b389
commit
ab338d3b15
75 changed files with 935 additions and 3232 deletions
71
nixos/users.nix
Normal file
71
nixos/users.nix
Normal file
|
@ -0,0 +1,71 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue