This commit is contained in:
Nathan McCarty 2025-01-13 14:53:42 -05:00
parent ac3825e6f9
commit 29fd118635
22 changed files with 424 additions and 424 deletions

View file

@ -3,9 +3,7 @@
lib,
pkgs,
...
}:
{
}: {
home.packages = with pkgs; [
# Rust rewrites of cli stuff
fd
@ -41,7 +39,10 @@
aggressiveResize = true;
keyMode = "vi";
shortcut = "x";
terminal = if pkgs.stdenv.isLinux then "tmux-256color" else "screen-256color";
terminal =
if pkgs.stdenv.isLinux
then "tmux-256color"
else "screen-256color";
escapeTime = 100;
plugins = with pkgs; [
tmuxPlugins.cpu
@ -56,5 +57,4 @@
};
programs.btop.enable = true;
programs.jq.enable = true;
}

View file

@ -4,9 +4,7 @@
pkgs,
inputs',
...
}:
{
}: {
home.packages = with pkgs; [
# Communications
webcord-vencord
@ -27,5 +25,4 @@
enable = true;
};
};
}

View file

@ -4,9 +4,7 @@
pkgs,
inputs',
...
}:
{
}: {
home.packages = with pkgs; [
# Git addons
git-secret

View file

@ -1,21 +1,19 @@
{
emacsPackage ? null,
}:
{
{emacsPackage ? null}: {
config,
lib,
pkgs,
...
}:
let
}: let
myAspell = pkgs.aspellWithDicts (d: [
d.en
d.en-science
d.en-computers
]);
emacsPackage' = if emacsPackage == null then pkgs.emacs29-pgtk else emacsPackage;
in
{
emacsPackage' =
if emacsPackage == null
then pkgs.emacs29-pgtk
else emacsPackage;
in {
home.packages = with pkgs; [
# For markdown rendering
python312Packages.grip
@ -48,7 +46,7 @@ in
comment = "Org protocol";
desktopName = "org-protocol";
type = "Application";
mimeTypes = [ "x-scheme-handler/org-protocol" ];
mimeTypes = ["x-scheme-handler/org-protocol"];
})
# For format output
# wkhtmltopdf
@ -56,19 +54,20 @@ in
programs.emacs = {
enable = true;
package = emacsPackage';
extraPackages =
epkgs: with pkgs; [
extraPackages = epkgs:
with pkgs; [
epkgs.mu4e
epkgs.vterm
epkgs.pdf-tools
epkgs.emacsql
epkgs.emacsql-sqlite
(tree-sitter.withPlugins (
grammars: with grammars; [
tree-sitter-nix
tree-sitter-rust
tree-sitter-toml
]
grammars:
with grammars; [
tree-sitter-nix
tree-sitter-rust
tree-sitter-toml
]
))
];
};

View file

@ -3,9 +3,7 @@
lib,
pkgs,
...
}:
{
}: {
fonts.fontconfig = {
enable = true;
defaultFonts = {
@ -13,8 +11,8 @@
"Noto Emoji"
"Noto Color Emoji"
];
monospace = [ "JetBrainsMono-NF-Regular" ];
sansSerif = [ "Roboto" ];
monospace = ["JetBrainsMono-NF-Regular"];
sansSerif = ["Roboto"];
};
};

View file

@ -1,15 +1,12 @@
{
gitUserName ? "Nathan McCarty",
gitUserEmail ? "thatonelutenist@stranger.systems",
}:
{
}: {
config,
lib,
pkgs,
...
}:
{
}: {
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;

View file

@ -3,9 +3,7 @@
lib,
pkgs,
...
}:
{
}: {
programs.neovim = {
enable = true;
viAlias = true;

View file

@ -3,9 +3,7 @@
lib,
pkgs,
...
}:
{
}: {
programs.nushell = {
enable = true;
configFile.source = ./nushell/config.nu;
@ -64,5 +62,4 @@
};
programs.fzf.enable = true;
}

View file

@ -3,9 +3,7 @@
lib,
pkgs,
...
}:
{
}: {
programs.ssh = {
# SSH configuration
enable = true;