Readit News logoReadit News
dlyons commented on Half-Life   filfre.net/2024/12/half-l... · Posted by u/dmazin
EdwardDiego · 6 months ago
I bought a 3dfx just to play Half Life, 3dfx because of that association between your game and their tech, figured it was the obvious choice, likewise so did most of my gamer mates.

So hope you had shares in them :D

dlyons · 6 months ago
Getting my hands on a 3dfx Voodoo3 felt like such a dream.
dlyons commented on Package management on macOS with Nix-Darwin   davi.sh/blog/2024/01/nix-... · Posted by u/photonbucket
dlyons · a year ago
I’ve wrapped nix-darwin, home-manager etc in a Nix configuration for macOS, with a starter template and simple installer.

I’ve been running it for a couple years, you can use it to try Nix without as much up front learning.

Almost 1000 stars!

https://github.com/dustinlyons/nixos-config

Edit: Just crossed 1k! Thanks HN

dlyons commented on I Use Nix on macOS   blog.6nok.org/how-i-use-n... · Posted by u/frontsideair
idle_zealot · 2 years ago
There exists nix-darwin, which allows for installing and configuring graphical apps on macOS. However, in my experience the OS starts freaking out about permissions every time you build --switch. Something about changing around the symlinks to .app files confuses it and resets permissions and duplicates autostart entries and such, which unfortunately got me to give up on it.
dlyons · 2 years ago
I’ve been using Nix on Mac for a couple years now and haven’t seen this behavior. Just works.

Maybe mixing sudo / user permissions during initial installation broke it. Nix is pretty unforgiving with not great error messages.

dlyons commented on I Use Nix on macOS   blog.6nok.org/how-i-use-n... · Posted by u/frontsideair
frankjr · 2 years ago
> nix run nixpkgs#cowsay

> This is a game-changer, you don’t have to pollute your system to run a one-off command, or you can try a package out before committing to installing it.

Is there a way to run the command isolated from the rest of the system? Because while this is nice it will still leave behind whatever configuration files / caches the program created on start up.

dlyons · 2 years ago
Not on macOS, but if you want run NixOS in a VM or on bare metal you can use nix-impermanence. Recreates your system/state from scratch on each reboot.

https://nixos.wiki/wiki/Impermanence

dlyons commented on I Use Nix on macOS   blog.6nok.org/how-i-use-n... · Posted by u/frontsideair
dlyons · 2 years ago
I’ve beeen using Nix on macOS for years now, and I don’t imagine ever going back. Declarative software management is the future. So easy to keep my dev environment up-to-date and quickly try out new packages. Never breaks.

Also, no more docker! docker on macOS was always a pain.

I made it easy for others to try if you’re interested, almost 800 stars now:

https://github.com/dustinlyons/nixos-config

dlyons commented on My MacBook Setup (the 2024 version)   github.com/maoxiaoke/setu... · Posted by u/maoxiaoke
xnyanta · 2 years ago
Pretty sure nix-darwin + its homebrew integration could set up 99% of this with a pull of your configuration repo and a single installation command.
dlyons · 2 years ago
Shameless plug: I maintain a Nix for MacOS configuration starter that has a step by step guide on getting started (725+ stars).

https://github.com/dustinlyons/nixos-config

dlyons commented on Ask HN: How do you setup a new Mac?    · Posted by u/eiiot
dlyons · 2 years ago
A lot of opinions on Nix here, but I manage a declarative configuration on my Mac that I now couldn’t live without. I have step by step instructions if you want to try it yourself. Many other folks have told me they find it useful too (almost 700 stars):

https://github.com/dustinlyons/nixos-config

dlyons commented on Going declarative on macOS with Nix and Nix-Darwin   nixcademy.com/2024/01/15/... · Posted by u/jonge
benwaffle · 2 years ago
I agree, I'm not getting new computers more than once a year, at most. Setup time doesn't seem like something I should optimize for.
dlyons · 2 years ago
I would argue the benefit is also it’s declarative, done forever, and your machine becomes relatively bulletproof.

Dev environment issues are a thing of the past, once you’ve defined your configuration.

If something is broken with a package, I don’t have to figure it out myself —- I just rollback, wait for someone to fix it upstream in nixpkgs and pull down the patch later.

dlyons commented on Going declarative on macOS with Nix and Nix-Darwin   nixcademy.com/2024/01/15/... · Posted by u/jonge
anarchogeek · 2 years ago
Use Nix on a Mac they say, it’s easy. Just follow this 20 page long blog post and then spend every day fighting against how the OS wants to work.

I’ve tried Nix on a Mac half a dozen times. It always ends with frustration.

Homebrew works amazingly if you actually want to be on a Mac. If you HATE everything about MacOS and Apple and someone forced you to use a Mac, then use Docker and Nix inside of that.

Nix should never be used on a Mac. It is a philosophical disaster. Don’t do it. Delete the repos and the world will be better off.

dlyons · 2 years ago
I’ve been using Nix directly on MacOS with minimal issues for a few years now. Works great.

I hate using docker on Mac and have since replaced it with flakes and devenv.

My configuration with a step by step guide (600+ stars): https://github.com/dustinlyons/nixos-config

Deleted Comment

u/dlyons

KarmaCake day93April 15, 2022
About
Hack the planet.
View Original