Packages, paths, settings, themes, etc.
This commit is contained in:
73
home-cli.nix
73
home-cli.nix
@@ -7,6 +7,12 @@ in
|
|||||||
home.stateVersion = "18.09";
|
home.stateVersion = "18.09";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
# AI
|
||||||
|
# aichat
|
||||||
|
# aider
|
||||||
|
mods
|
||||||
|
shell_gpt
|
||||||
|
|
||||||
fd
|
fd
|
||||||
mosh
|
mosh
|
||||||
w3m
|
w3m
|
||||||
@@ -39,7 +45,7 @@ in
|
|||||||
fx
|
fx
|
||||||
jc
|
jc
|
||||||
miller
|
miller
|
||||||
sc-im
|
# sc-im
|
||||||
cacert
|
cacert
|
||||||
weechat
|
weechat
|
||||||
cointop
|
cointop
|
||||||
@@ -52,25 +58,31 @@ in
|
|||||||
nixfmt
|
nixfmt
|
||||||
shellcheck
|
shellcheck
|
||||||
vale
|
vale
|
||||||
tectonic
|
# tectonic
|
||||||
zathura # lilypond-with-fonts
|
# zathura # lilypond-with-fonts
|
||||||
nodejs
|
nodejs
|
||||||
deno
|
deno
|
||||||
|
bun
|
||||||
yarn
|
yarn
|
||||||
lazydocker
|
lazydocker
|
||||||
nodePackages.typescript-language-server
|
nodePackages.typescript-language-server
|
||||||
nodePackages.stylelint
|
nodePackages.stylelint
|
||||||
nodePackages.js-beautify
|
nodePackages.js-beautify
|
||||||
|
nodePackages.intelephense
|
||||||
nodePackages.expo-cli
|
nodePackages.expo-cli
|
||||||
|
nodePackages.localtunnel
|
||||||
ocaml
|
ocaml
|
||||||
dune_2
|
dune_2
|
||||||
ocamlPackages.utop
|
ocamlPackages.utop
|
||||||
ocamlPackages.ocp-indent
|
ocamlPackages.ocp-indent
|
||||||
ocamlPackages.merlin
|
ocamlPackages.merlin
|
||||||
rustup
|
# rustup
|
||||||
|
rustc
|
||||||
|
cargo
|
||||||
zig
|
zig
|
||||||
go
|
go
|
||||||
cmake
|
cmake
|
||||||
|
# python311Packages.west
|
||||||
# racket-minimal
|
# racket-minimal
|
||||||
ghc
|
ghc
|
||||||
haskell-language-server
|
haskell-language-server
|
||||||
@@ -93,8 +105,16 @@ in
|
|||||||
EDITOR = "vim";
|
EDITOR = "vim";
|
||||||
BROWSER = "open";
|
BROWSER = "open";
|
||||||
TZ_LIST = "US/Pacific;US/Mountain;US/Central;US/Eastern;Europe/London;Europe/Kiev;Asia/Shanghai;Asia/Tokyo";
|
TZ_LIST = "US/Pacific;US/Mountain;US/Central;US/Eastern;Europe/London;Europe/Kiev;Asia/Shanghai;Asia/Tokyo";
|
||||||
|
inherit (secrets.openai) OPENAI_API_KEY;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.sessionPath = [
|
||||||
|
"$HOME/.cargo/bin"
|
||||||
|
"$HOME/.npm-global/bin"
|
||||||
|
"/opt/homebrew/opt/php@7.4/bin"
|
||||||
|
"/opt/homebrew/opt/php@7.4/sbin"
|
||||||
|
];
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
@@ -131,7 +151,7 @@ in
|
|||||||
|
|
||||||
programs.eza = {
|
programs.eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAliases = true;
|
# enableAliases = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zoxide = {
|
programs.zoxide = {
|
||||||
@@ -229,11 +249,25 @@ in
|
|||||||
inherit (secrets.dswan) hostname;
|
inherit (secrets.dswan) hostname;
|
||||||
};
|
};
|
||||||
|
|
||||||
aws = {
|
mr = {
|
||||||
inherit (secrets.visionable-aws) user;
|
inherit (secrets.mr) user;
|
||||||
inherit (secrets.visionable-aws) hostname;
|
inherit (secrets.mr) hostname;
|
||||||
identityFile = "/Users/dustinswan/.ssh/id_rsa";
|
identityFile = "/Users/dustinswan/.ssh/id_rsa_mr";
|
||||||
extraOptions = { PubkeyAcceptedKeyTypes = "+ssh-rsa"; HostKeyAlgorithms = "+ssh-rsa"; };
|
identitiesOnly = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
mr-prod = {
|
||||||
|
inherit (secrets.mr-prod) user;
|
||||||
|
inherit (secrets.mr-prod) hostname;
|
||||||
|
identityFile = "/Users/dustinswan/.ssh/id_rsa_mr";
|
||||||
|
identitiesOnly = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
mr-prod2 = {
|
||||||
|
inherit (secrets.mr-prod2) user;
|
||||||
|
inherit (secrets.mr-prod2) hostname;
|
||||||
|
identityFile = "/Users/dustinswan/.ssh/id_rsa_mr";
|
||||||
|
identitiesOnly = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -253,7 +287,7 @@ in
|
|||||||
delta = {
|
delta = {
|
||||||
enable = true;
|
enable = true;
|
||||||
options = {
|
options = {
|
||||||
syntax-theme = "Nord";
|
syntax-theme = "ansi";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
@@ -307,7 +341,7 @@ in
|
|||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
theme = "catppuccin_mocha";
|
# theme = "catppuccin_mocha";
|
||||||
editor = {
|
editor = {
|
||||||
cursorline = true;
|
cursorline = true;
|
||||||
lsp.display-messages = true;
|
lsp.display-messages = true;
|
||||||
@@ -329,24 +363,13 @@ in
|
|||||||
|
|
||||||
programs.bat = {
|
programs.bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
themes = {
|
config.theme = "ansi";
|
||||||
Catppuccin-mocha = builtins.readFile (pkgs.fetchFromGitHub
|
|
||||||
{
|
|
||||||
owner = "catppuccin";
|
|
||||||
repo = "bat";
|
|
||||||
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
|
|
||||||
sha256 = "6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
|
|
||||||
} + "/Catppuccin-mocha.tmTheme");
|
|
||||||
};
|
|
||||||
config = {
|
|
||||||
theme = "Catppuccin-mocha";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.gpg.enable = true;
|
programs.gpg.enable = true;
|
||||||
programs.mpv.enable = true;
|
programs.mpv.enable = true;
|
||||||
programs.noti.enable = true;
|
programs.noti.enable = true;
|
||||||
programs.btop.enable = true;
|
# programs.btop.enable = true;
|
||||||
programs.bottom.enable = true;
|
programs.bottom.enable = true;
|
||||||
programs.tealdeer.enable = true;
|
programs.tealdeer.enable = true;
|
||||||
programs.ripgrep.enable = true;
|
programs.ripgrep.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user