nixos_config/home/pkgs_and_programs.nix

155 lines
3.1 KiB
Nix
Raw Normal View History

{
agenix,
pkgs,
system,
xil,
...
}:
let
# Especially for dotnet packages, remember to update "/flake.nix" too!
my_packages = {
irdkit = pkgs.callPackage ./packages/irdkit/package.nix {};
ird_tools = pkgs.callPackage ./packages/ird_tools/package.nix {};
ps3dec = pkgs.callPackage ./packages/ps3dec/package.nix {};
sabretools = pkgs.callPackage ./packages/sabretools/package.nix {};
rom-properties = pkgs.callPackage ./packages/rom-properties/package.nix {};
};
in
{
programs = {
bat = {
enable = true;
};
2024-05-14 04:23:11 -04:00
direnv = {
enable = true;
nix-direnv.enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
enableFishIntegration = false;
enableNushellIntegration = false;
# loadInNixShell = true;
};
2024-05-14 04:23:11 -04:00
git = {
enable = true;
userName = "Whovian9369";
userEmail = "Whovian9369@gmail.com";
extraConfig = {
init = {
defaultBranch = "main";
};
};
};
2024-05-14 04:23:11 -04:00
jq = {
enable = true;
};
2024-05-14 04:23:11 -04:00
nix-index = {
2024-05-20 20:05:35 -04:00
enable = true;
enableZshIntegration = false;
enableBashIntegration = false;
enableFishIntegration = false;
};
2024-05-14 04:23:11 -04:00
ripgrep = {
enable = true;
};
2024-05-14 04:23:11 -04:00
zsh = {
enable = true;
# Honestly unsure if I should be using `programs.zsh.envExtra` or
# `programs.zsh.localVariables` here.
localVariables = {
DISABLE_MAGIC_FUNCTIONS = true;
};
# enableAutosuggestions = true;
# enableCompletion = true;
oh-my-zsh = {
enable = true;
plugins = [
"git"
"sudo"
];
theme = "bira";
};
};
};
2024-05-14 04:23:11 -04:00
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = [
pkgs._7zz
pkgs.bat
pkgs.binwalk
pkgs.cdecrypt
pkgs.colorized-logs
pkgs.croc
pkgs.dhex
pkgs.fd
pkgs.file
pkgs.gdrive3
pkgs.git
pkgs.hactool
pkgs.instaloader
pkgs.internetarchive
pkgs.lynx
pkgs.megatools
pkgs.ncdu
pkgs.nixfmt-classic
pkgs.progress
pkgs.pyrosimple
pkgs.python3
pkgs.quickbms
pkgs.rclone
pkgs.screen
pkgs.sshfs
pkgs.unrar-wrapper
pkgs.wget
pkgs.xxd
pkgs.yq
my_packages.irdkit
my_packages.ird_tools
2024-05-18 05:44:36 -04:00
my_packages.ps3dec
my_packages.sabretools
# my_packages.rom-properties
agenix.packages.${system}.default
xil.packages.${system}.xil
];
2024-05-14 06:02:59 -04:00
# Disabled Packages
/*
2024-05-14 06:02:59 -04:00
pkgs.binutils
# Just use "nix shell nixpkgs#binutils -c strings -- INPUT"
pkgs.mpv
# Not needed on WSL
pkgs.p7zip
# Replaced in favour of nixpkgs#_7zz
pkgs.terminator
# Not needed on WSL, even though I'd like it on WSL sometimes.
pkgs.yt-dlp
# Not needed on WSL
*/
/*
# It is sometimes useful to fine-tune packages, for example, by applying
# overrides. You can do that directly here, just don't forget the
2024-05-14 04:23:11 -04:00
# parentheses.
# Maybe you want to install Nerd Fonts with a limited number of fonts?
(pkgs.nerdfonts.override {
fonts = [
"FantasqueSansMono"
];
})
*/
}