HackerTrans
TopNewTrendsCommentsPastAskShowJobs

AgentElement

17 karmajoined 7 lat temu

comments

AgentElement
·przedwczoraj·discuss
This is a problem. Mozilla is completely dependent on it's primary competitor for funding Firefox. Although I don't agree with Mozilla's current direction, trying to diversify their primary source of income is rational from this perspective.
AgentElement
·16 dni temu·discuss
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 miesięcy temu·discuss
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 miesięcy temu·discuss
There is a choice of operating systems, which cannot be said about macs.
AgentElement
·10 miesięcy temu·discuss
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.