curtismchale

joined 2 years ago
[–] curtismchale@lemmy.ca 2 points 9 months ago

I've been on Mac for around 10 years and the price of the hardware was a huge motivator. The 13" Framework came out and I jumped on that modular bandwagon. I do still use my Mac as a video ripping station but otherwise I earn all my money as a dev on Fedora 40 and have a secondary tablet with NixOS on it, because the draw of an easily reproducible system is strong.

Now Apple just continues to do stupid shit and I just want to own my computer without them looking over my shoulder and charging me a huge price to do it.

I do need to upgrade the Framework (started with the cheap i5 chip) to the fastest AMD variant available so that streaming works better without the fan spinning up, or just build a desktop for streaming and video work.

1
submitted 2 years ago* (last edited 2 years ago) by curtismchale@lemmy.ca to c/nixos@lemmy.ml
 

I want to add custom commands to my PATH but am unable to get it working. So far I've installed home-manager and added the code below to my nix configuration.

imports = [
  ./hardware-configuration.nix
  
];

Then later on to add the item to PATH

home-manager.users.curtismchale = { pkgs, ... }: {
  home.stateVersion = "23.05";
  home.sessionPath = [
    "$HOME/Workspace/proudcity/proudcity-kubernetes/bin"
  ];
};

I have also tried $HOME/Workspace/proudcity/producity-kubernetes/bin/pc-kube but that doesn't change the issue.

I can see the commands installed at ~/Workspace/proudcity/proudcity-kubernetes/bin/pc-kube but when I type the expected command pc kube $command it says there is nothing installed in path and offers to install some programs that match pc for me.