dotfiles/home/desktop.nix
2023-07-04 03:35:37 -05:00

51 lines
No EOL
869 B
Nix

{ config, lib, pkgs, ... }:
{
# Commonly used packages.
home.packages = with pkgs; [
cloc
croc
exiftool
ffmpeg
go
google-cloud-sdk
gradle
htop
imagemagick
jadx
jdk
jq
mtr
ncdu
nixopsUnstable
p7zip
pngcrush
pry
protobuf
pwgen
rustup
tmux
unar
virt-manager
watch
wget
yt-dlp
];
# GPG
programs.gpg.enable = true;
home.file.".gnupg/gpg-agent.conf" = lib.mkIf pkgs.stdenv.isDarwin {
text = ''
pinentry-program "${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac"
'';
};
# password-store
programs.password-store = {
enable = true;
package = pkgs.pass.withExtensions (exts: [exts.pass-otp]);
settings = {
PASSWORD_STORE_DIR = "${config.home.homeDirectory}/.password-store";
};
};
}