Updating. lots of stuff. and gpg git signing key
This commit is contained in:
50
home-cli.nix
50
home-cli.nix
@@ -8,7 +8,6 @@ in
|
|||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|
||||||
home.username = "dustinswan";
|
home.username = "dustinswan";
|
||||||
home.homeDirectory = "/Users/dustinswan";
|
|
||||||
home.shell.enableShellIntegration = true;
|
home.shell.enableShellIntegration = true;
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
@@ -22,24 +21,29 @@ in
|
|||||||
./home-nvim.nix
|
./home-nvim.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Remove when bitwarden-cli is fixed upstream
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/339576#issuecomment-2574076670
|
|
||||||
nixpkgs.overlays = [
|
|
||||||
(final: prev: { bitwarden-cli = prev.bitwarden-cli.overrideAttrs (oldAttrs: { nativeBuildInputs = (oldAttrs.nativeBuildInputs or [ ]) ++ [ prev.llvmPackages_18.stdenv.cc ]; stdenv = prev.llvmPackages_18.stdenv; }); })
|
|
||||||
];
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
supabase-cli
|
supabase-cli
|
||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
awscli2
|
awscli2
|
||||||
claude-code
|
claude-code
|
||||||
opencode
|
opencode # see also: aider; toad;
|
||||||
fd
|
fd
|
||||||
poppler-utils
|
poppler-utils # pdftotext
|
||||||
xan # e.g. xan slice 3,2 file.csv | xan behead | xan view -An
|
xan # e.g. xan slice 3,2 file.csv | xan behead | xan view -An; see also: csvi
|
||||||
ngrok
|
doxx # read docx files
|
||||||
|
sqlit-tui # see also: harlequin; lazysql; gobang; dblab
|
||||||
|
# snitch # see also: bandwhich
|
||||||
|
epy # ebook reader. see also: erp; bookokrat; lue
|
||||||
|
# mimic # tts engine, used by epy
|
||||||
|
posting # see also: httpie, yapi, sled, Yaak (GUI), Bruno (GUI)
|
||||||
|
croc magic-wormhole # transfer files
|
||||||
|
# calcure # calendar cli app, can point to ics files or URL
|
||||||
|
dust duf dua # disk usage
|
||||||
|
doggo # dig
|
||||||
ddev
|
ddev
|
||||||
|
ngrok
|
||||||
mkcert
|
mkcert
|
||||||
|
ffmpeg
|
||||||
gnupg
|
gnupg
|
||||||
cacert
|
cacert
|
||||||
nodejs
|
nodejs
|
||||||
@@ -49,12 +53,12 @@ in
|
|||||||
cargo
|
cargo
|
||||||
uv
|
uv
|
||||||
blade-formatter
|
blade-formatter
|
||||||
nil
|
nixd # Nix language server
|
||||||
nixd
|
|
||||||
nodePackages.typescript-language-server
|
nodePackages.typescript-language-server
|
||||||
nodePackages.stylelint
|
nodePackages.stylelint
|
||||||
nodePackages.js-beautify
|
nodePackages.js-beautify
|
||||||
nodePackages.intelephense
|
nodePackages.intelephense
|
||||||
|
dict
|
||||||
ispell
|
ispell
|
||||||
aspell
|
aspell
|
||||||
aspellDicts.en
|
aspellDicts.en
|
||||||
@@ -148,13 +152,16 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.nix-your-shell.enable = true;
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
programs.starship.enable = true;
|
programs.starship.enable = true;
|
||||||
# programs.television.enable = true; # WAIT config currently broken
|
# programs.television.enable = true; # WAIT config currently broken
|
||||||
|
# programs.nix-search-tv.enable = true;
|
||||||
programs.fzf.enable = true; # used by other apps, tmux, etc.
|
programs.fzf.enable = true; # used by other apps, tmux, etc.
|
||||||
programs.zoxide.enable = true;
|
programs.zoxide.enable = true;
|
||||||
programs.bat.enable = true;
|
programs.bat.enable = true;
|
||||||
programs.ripgrep.enable = true;
|
programs.ripgrep.enable = true;
|
||||||
|
programs.ripgrep-all.enable = true;
|
||||||
programs.yazi.enable = true;
|
programs.yazi.enable = true;
|
||||||
|
|
||||||
programs.eza = {
|
programs.eza = {
|
||||||
@@ -167,6 +174,8 @@ in
|
|||||||
settings.updates.auto_update = true;
|
settings.updates.auto_update = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# programs.intelli-shell.enable = true;
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableDefaultConfig = false; # TODO: remove when defaults change
|
enableDefaultConfig = false; # TODO: remove when defaults change
|
||||||
@@ -215,17 +224,22 @@ in
|
|||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Dustin Swan";
|
|
||||||
userEmail = "dustin@dustinswan.com";
|
|
||||||
signing = {
|
signing = {
|
||||||
signByDefault = true;
|
signByDefault = true;
|
||||||
key = "AD11750151C10881970BD943AB49BD6B2B3A6377";
|
key = "30D46587E2100467";
|
||||||
};
|
};
|
||||||
delta.enable = true;
|
settings = {
|
||||||
extraConfig = {
|
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
|
user.email = "dustin@dustinswan.com";
|
||||||
|
user.name = "Dustin Swan";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
programs.gh.enable = true;
|
||||||
|
|
||||||
|
programs.delta = {
|
||||||
|
enable = true;
|
||||||
|
enableGitIntegration = true;
|
||||||
|
};
|
||||||
|
|
||||||
programs.gitui.enable = true;
|
programs.gitui.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ in {
|
|||||||
font-family = "Iosevka NFM";
|
font-family = "Iosevka NFM";
|
||||||
font-size = 16;
|
font-size = 16;
|
||||||
font-thicken = true;
|
font-thicken = true;
|
||||||
theme = "dark:catppuccin-mocha,light:catppuccin-latte"; # TODO: waiting on all cli apps to handle auto switching too
|
# theme = "dark:catppuccin-mocha,light:catppuccin-latte"; # TODO: waiting on all cli apps to handle auto switching too
|
||||||
# theme = "catppuccin-mocha";
|
theme = "catppuccin-mocha";
|
||||||
background-opacity = 0.95;
|
background-opacity = 0.95;
|
||||||
background-blur-radius = 15;
|
background-blur-radius = 15;
|
||||||
window-padding-x = 12;
|
window-padding-x = 12;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
home.homeDirectory = "/Users/dustinswan";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
pinentry_mac
|
pinentry_mac
|
||||||
terminal-notifier
|
terminal-notifier
|
||||||
|
|||||||
@@ -5,6 +5,10 @@
|
|||||||
programs.msmtp.enable = true;
|
programs.msmtp.enable = true;
|
||||||
programs.himalaya.enable = true;
|
programs.himalaya.enable = true;
|
||||||
programs.vdirsyncer.enable = true;
|
programs.vdirsyncer.enable = true;
|
||||||
|
programs.aerc = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig.general.unsafe-accounts-conf = true;
|
||||||
|
};
|
||||||
|
|
||||||
accounts.email = {
|
accounts.email = {
|
||||||
maildirBasePath = "Mail";
|
maildirBasePath = "Mail";
|
||||||
@@ -35,6 +39,7 @@
|
|||||||
expunge = "maildir";
|
expunge = "maildir";
|
||||||
};
|
};
|
||||||
msmtp.enable = true;
|
msmtp.enable = true;
|
||||||
|
aerc.enable = true;
|
||||||
himalaya = {
|
himalaya = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@@ -50,35 +55,6 @@
|
|||||||
showSignature = "append";
|
showSignature = "append";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
MajorRocket = {
|
|
||||||
flavor = "gmail.com";
|
|
||||||
address = "dustin@majorrocket.com";
|
|
||||||
realName = "Dustin Swan";
|
|
||||||
primary = false;
|
|
||||||
folders = {
|
|
||||||
inbox = "Inbox";
|
|
||||||
drafts = "[Gmail]/Drafts";
|
|
||||||
sent = "[Gmail]/Sent Mail";
|
|
||||||
trash = "[Gmail]/Trash";
|
|
||||||
};
|
|
||||||
userName = "dustin@majorrocket.com";
|
|
||||||
passwordCommand = "gpg -dq ${builtins.getEnv "HOME"}/.dustin@majorrocket.com-password.gpg";
|
|
||||||
mbsync = {
|
|
||||||
enable = true;
|
|
||||||
create = "maildir";
|
|
||||||
expunge = "maildir";
|
|
||||||
};
|
|
||||||
msmtp.enable = true;
|
|
||||||
aerc.enable = true;
|
|
||||||
# himalaya = {
|
|
||||||
# enable = true;
|
|
||||||
# };
|
|
||||||
signature = {
|
|
||||||
text = ''Dustin Swan | Major Rocket'';
|
|
||||||
showSignature = "append";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user