add yq, alphabetize stuff

This commit is contained in:
willemml 2023-01-20 14:59:50 -08:00
parent 0490f8bb7a
commit 0d51070a1a
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
4 changed files with 72 additions and 69 deletions

1
.#programs.nix Symbolic link
View file

@ -0,0 +1 @@
willem@zeus.44981

View file

@ -1,9 +1,41 @@
{ config, pkgs, lib, inputs, ... }:
let
homeDirectory = config.home.homeDirectory;
emacsCommand = "emacsclient -c -nw";
homeDirectory = config.home.homeDirectory;
in {
home = {
username = "willem";
homeDirectory = "/Users/willem";
stateVersion = "22.11";
};
home.file.".config/nix/nix.conf".text = ''
allow-dirty = true
experimental-features = flakes nix-command
builders-use-substitutes = true
'';
home.file.".gnupg/gpg-agent.conf".text = ''
pinentry-program "${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac"
'';
home.keyboard = {
layout = "us";
variant = "colemak";
};
home.language = {
base = "en_CA.UTF-8";
messages = "en_US.UTF-8";
ctype = "en_US.UTF-8";
};
home.sessionVariables = {
EDITOR = emacsCommand;
VISUAL = emacsCommand;
};
imports =
[ ./emacs.nix ./launchd.nix ./packages.nix ./programs.nix ./apps.nix ];
@ -13,35 +45,4 @@ in {
builtins.elem (lib.getName pkg) [ "discord" "unrar" "zoom" ];
};
home = {
username = "willem";
homeDirectory = "/Users/willem";
stateVersion = "22.11";
};
home.language = {
base = "en_CA.UTF-8";
messages = "en_US.UTF-8";
ctype = "en_US.UTF-8";
};
home.keyboard = {
layout = "us";
variant = "colemak";
};
home.sessionVariables = {
EDITOR = emacsCommand;
VISUAL = emacsCommand;
};
home.file.".gnupg/gpg-agent.conf".text = ''
pinentry-program "${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac"
'';
home.file.".config/nix/nix.conf".text = ''
allow-dirty = true
experimental-features = flakes nix-command
builders-use-substitutes = true
'';
}

View file

@ -3,39 +3,40 @@
{
home.packages = with pkgs;
[
colima
coreutils
gnused
spoof-mac
colima
pinentry_mac
iterm2
zoom-us
karabiner-elements
pinentry_mac
spoof-mac
zoom-us
(pkgs.callPackage ./spotify-mac.nix { inherit config lib pkgs; })
] ++ [ discord pkgsCustom.vlc pkgsCustom.qbittorrent ]
++ [ docker docker-compose ] ++ [
comma
automake
autoconf
cmake
automake
bash
rustup
curl
pv
wget
htop
bat
cmake
comma
curl
fd
gawk
ripgrep
htop
jq
nix-review
nmap
unzip
openssh
pv
ripgrep
rsync
rustup
tldr
unp
unrar
rsync
openssh
tldr
nix-review
unzip
wget
yq
];
}

View file

@ -2,26 +2,14 @@
{
programs = {
home-manager.enable = true;
direnv = {
enable = true;
nix-direnv = { enable = true; };
};
gpg = {
exa = {
enable = true;
package = pkgs.gnupg;
homedir = "${config.home.homeDirectory}/.gnupg";
settings = {
use-agent = true;
default-key = "860B5C62BF1FCE4272D26BF8C3DE5DF6198DACBD";
};
};
java = {
enable = true;
package = pkgs.jdk;
enableAliases = true;
};
git = {
@ -42,14 +30,19 @@
userEmail = "willem@leit.so";
};
zoxide = {
gpg = {
enable = true;
enableZshIntegration = true;
package = pkgs.gnupg;
homedir = "${config.home.homeDirectory}/.gnupg";
settings = {
use-agent = true;
default-key = "860B5C62BF1FCE4272D26BF8C3DE5DF6198DACBD";
};
};
exa = {
java = {
enable = true;
enableAliases = true;
package = pkgs.jdk;
};
starship = {
@ -103,6 +96,11 @@
};
};
zoxide = {
enable = true;
enableZshIntegration = true;
};
zsh = {
enable = true;
enableCompletion = true;
@ -113,7 +111,6 @@
envExtra = ''
export PATH=${pkgs.pinentry_mac.out}/Applications/pinentry-mac.app/Contents/MacOS:$PATH
export GPG_TTY=$(tty)
eval $(gpg-agent --daemon -q 2>/dev/null)
'';
dotDir = ".config/zsh";
@ -133,5 +130,8 @@
l = "ls -1";
};
};
home-manager.enable = true;
};
}