changes to modules + adoption of PC

This commit is contained in:
2026-06-24 21:59:08 -05:00
parent 872d29c688
commit 03c2d57c67
46 changed files with 970 additions and 217 deletions
+23
View File
@@ -0,0 +1,23 @@
{ pkgs, ... }:
{
imports = [
./eza.nix
./starship.nix
./zoxide.nix
];
home.packages = with pkgs; [
fish
bat
fzf
fd
zoxide
ripgrep
neovim
];
home.file.".config/fish".source = ../config/fish;
programs.fish.enable = true;
}
+22 -1
View File
@@ -1,9 +1,30 @@
{ ... }:
{ pkgs, ... }:
{
programs.git = {
enable = true;
settings = {
user = {
name = "Maaz Khokhar";
email = "khokharmaaz@gmail.com";
};
signing = {
key = "0xA8D1AEA9C92D6867"; # e.g., "0x1234567890ABCDEF"
signByDefault = true;
};
credential.helper = "libsecret";
extraConfig = {
commit.gpgSign = true;
tag.gpgSign = true;
gpg.program = "${pkgs.gnupg}/bin/gpg";
init.defaultBranch = "main";
pull.rebase = true;
};
};
};
programs.delta = {
enable = true;
options = {
+18
View File
@@ -0,0 +1,18 @@
{ pkgs, ... }:
{
services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
maxCacheTtl = 1800;
pinentry.package = pkgs.pinentry-curses;
};
programs.gpg = {
enable = true;
settings = {
auto-key-locate = "local,wkd,keyserver";
keyserver = "hkps://keys.openpgp.org";
};
};
}
+6
View File
@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.file.".java/jdk-17".source = pkgs.jdk17;
home.file.".java/jdk-25".source = pkgs.jdk25;
}
+7
View File
@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
vesktop
];
}
+1
View File
@@ -4,5 +4,6 @@
programs.zoxide = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
};
}