Created
May 28, 2024 20:29
-
-
Save aduh95/affe5ba977acaaa8f480bc7d98161ec9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: | |
{ | |
nixpkgs.config = { | |
allowUnfree = true; | |
}; | |
# Home Manager needs a bit of information about you and the | |
# paths it should manage. | |
home.username = "duhamean"; | |
home.homeDirectory = "/Users/duhamean"; | |
# 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.05"; | |
home.sessionVariables = { | |
EDITOR = "vim"; | |
NODE_PATH = "$HOME/.npm-packages/lib/node_modules"; | |
PATH = "$HOME/.npm-packages/bin:$PATH"; | |
}; | |
home.packages = [ | |
pkgs.awscli2 | |
pkgs.ccache | |
pkgs.cmake | |
pkgs.curl | |
pkgs.deno | |
# pkgs.firefox # no available on aarch64-darwin | |
pkgs.git-lfs | |
pkgs.gnumake | |
pkgs.imagemagick | |
pkgs.jq | |
pkgs.mpv-unwrapped | |
pkgs.newt | |
pkgs.ninja | |
# pkgs.nix | |
pkgs.nodejs-slim | |
pkgs.ollama | |
pkgs.php83 | |
pkgs.php83Packages.composer | |
pkgs.php83Packages.phpcs | |
pkgs.s3cmd | |
# pkgs.signal-desktop # no available on aarch64-darwin | |
pkgs.transmission_4 | |
# pkgs.ungoogled-chromium # no available on aarch64-darwin | |
# pkgs.vlc # no available on aarch64-darwin | |
]; | |
# 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"; | |
aliases = { | |
co = "pr checkout"; | |
pv = "pr view"; | |
}; | |
}; | |
}; | |
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