• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: July 17th, 2023

help-circle


  • tinkling4938@lemmynsfw.comtolinuxmemes@lemmy.worldDistro Focuses
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    13 days ago

    So I’ve only been using nix about a year and only used flakes. I use in two ways.

    First, I have my main nix flake. Most everything is controlled from that. It has several outputs from full blown nixos builds per host or some home manager builds for non-nixos systems.

    Third-party flakes I use as inputs to my own flake then use the override system to inject them into nixpkgs. Then I just install whatever like normal from nixpkgs. I can either override an existing pkg (neovim nightly replaces regular neovim for me), or you can just add as a new package to nixpkgs by using a different attribute name.

    Second way is for projects with their own repo. I’ll add a project flake that has a devshell with direnv so as soon as I enter that directory it sets up a sort of virtual environment just for that project. You can add outputs to it so others can use as a third-party flake.

    My main starting point was https://github.com/Misterio77/nix-config for this design.







  • This is the excuse my employer gave. So I’m to take a pay cut (gas, wear and tear on my vehicle, loss of time to commute) so I can spend more money to prop up other businesses for a tax break that is likely to go into some rich ass C-levels bonus or shareholders pocket for cut costs?

    Fuuuck that. Its just another way of picking the labor class clean to the bone.