Migrate to nix flakes
This commit is contained in:
parent
e88bd7593f
commit
e237c5dd4b
8 changed files with 326 additions and 201 deletions
51
home/desktop.nix
Normal file
51
home/desktop.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue