HackerTrans
热门最新趋势评论往期问答秀出招聘

AgentElement

17 声望加入于 7年前

评论

AgentElement
·前天·讨论
这是一个问题。Mozilla 完全依赖其主要竞争对手为 Firefox 提供资金。虽然我不同意 Mozilla 目前的发展方向,但从这个角度来看,尝试使其主要收入来源多样化是合理的。
AgentElement
·16天前·讨论
Some folks like to have a computing environment free of proprietary influences and extremely strong vendor lock-in. I cannot claim to posses any apple devices.
AgentElement
·9个月前·讨论
With nix + home manager, you can use `mkOutOfStoreSymlink` to make symlinks between the dotfile repo and the target destination in `.config`. I've found this to be the most ergonomic way to have nix-managed dotfiles. Because the out-of-store dotfile repo is symlinked, you can make little changes to your system without doing the whole commit and switch dance.

For example, here's a snippet pulled from my dotfiles that does this for multiple dotfiles at once:

  home.file =
    builtins.mapAttrs
      (key: value: {
        # symlink ~/dotfiles/configs/{value} to ~/{key}
        source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dotfiles/configs/${value}";
      })
      {
        ".zshrc"                                    = "zsh/zshrc";
        ".p10k.zsh"                                 = "zsh/p10k.zsh";
        ".config/sway/config"                       = "sway/config";
        ".config/nvim/init.lua"                     = "nvim/init.lua";
      };
AgentElement
·10个月前·讨论
There is a choice of operating systems, which cannot be said about macs.
AgentElement
·10个月前·讨论
One does not even need a top-quality professional electric knife sharpener to produce an edge for kitchen work. An inexpensive 1500 grit whetstone suffices.