Skip to content

Instantly share code, notes, and snippets.

@aduh95
Last active March 28, 2025 18:56
Show Gist options
  • Save aduh95/affe5ba977acaaa8f480bc7d98161ec9 to your computer and use it in GitHub Desktop.
Save aduh95/affe5ba977acaaa8f480bc7d98161ec9 to your computer and use it in GitHub Desktop.
{ config, lib, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "duhamean";
home.homeDirectory = "/Users/duhamean";
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"mongodb-ce"
];
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "24.11";
home.sessionVariables = {
EDITOR = "vim";
};
home.packages = [
pkgs.curl
pkgs.deno
pkgs.jq # JSON stream parser
pkgs.mpv-unwrapped # VLC like
pkgs.nodejs-slim
pkgs.ollama # LLM stuff
pkgs.transmission_4 # Torrenting
# Building Node.js:
pkgs.ninja
pkgs.ccache
pkgs.cmake
pkgs.gnumake
# For Rosa
pkgs.awscli2
pkgs.phrase-cli
pkgs.docker-client
pkgs.mongodb-ce
pkgs.mongosh
pkgs.mongodb-tools
];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.gh = {
enable = true;
settings = {
# Workaround for https://github.com/nix-community/home-manager/issues/4744
version = 1;
editor = "vi";
};
};
programs.gpg = {
enable = true;
settings = {
auto-key-retrieve = true;
no-emit-version = true;
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment