Skip to content

Commit

Permalink
Manage ~/.default-gems with home-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jul 28, 2023
1 parent 0cdedd0 commit ecfbf50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .config/home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@

programs.zoxide.enable = true;

# https://nixos.wiki/wiki/Home_Manager
# - Prefer XDF_*
# - If can't write the reason as a comment

xdg.configFile."git/config".source = ../git/config;
xdg.configFile."irb/irbrc".source = ../irb/irbrc;
xdg.configFile."alacritty/alacritty.yml".source = ../alacritty/alacritty.yml;
Expand All @@ -115,6 +119,11 @@
# Not under "starship/starship.toml"
xdg.configFile."starship.toml".source = ../starship.toml;

# https://github.com/rbenv/rbenv-default-gems/issues/17
home.file.".default-gems".text = ''
irb-power_assert
'';

home.packages = [
pkgs.dprint
pkgs.deno
Expand Down
1 change: 0 additions & 1 deletion home/.default-gems

This file was deleted.

0 comments on commit ecfbf50

Please sign in to comment.