nixos-config
nix-darwin
nixos-config | nix-darwin | |
---|---|---|
15 | 39 | |
1,796 | 2,283 | |
- | - | |
8.2 | 8.7 | |
8 days ago | 3 days ago | |
Nix | Nix | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nixos-config
-
Going declarative on macOS with Nix and Nix-Darwin
Here’s Mitchell Hashimoto (founder of HashiCorp) setup config.
https://github.com/mitchellh/nixos-config
-
Does it make sense to deep dive into NixOs without proper knowledge of nix itself?
In my case, I started by installing the NixOS using the Gnome Installer on VmWare fusion, and then modified it using the example config from mitchellh as a guide. Actually entering the configuration yourself definitely helps with learning.
-
Question about managing development environments in NixOS
I have a NixOS dev environment in a VM which I built based on https://github.com/mitchellh/nixos-config. Similar to that setup, I use Flakes for my main configuration, and use home-manager to install + configure dev tools that I want available across multiple projects
-
Is it possible to use nix like pacstrap?
Yes, maybe not as easily. Check my setup https://github.com/kohlerm/nixos-config which I forked from https://github.com/mitchellh/nixos-config a while ago
- Te comparto la teca de la manteca [Posteo taringuero]
-
new job gave me a brand new mac
Hi, if u can not get a linux pc - then have a look on the following thing (nixos). https://github.com/mitchellh/nixos-config
-
Anyone using a linux vm on mac for doing development? What are your thought on this?
I'm developing mostly using console applications like vim so I don't need GUI apps for what I'm doing and this made me wonder if it's not better to simply spin a Linux VM inside my macOS to do my development. Something like this: https://github.com/mitchellh/nixos-config (this guy is one of the founders of Hashicorp)
- NixOS on macOS
-
Ask HN: How ready for daily driving is Asahi Linux?
One of the most popular NixOS configs on GitHub does this https://github.com/mitchellh/nixos-config
The README describes the experience, though the author takes the approach of using the VM mainly for terminal-based stuff.
-
Using Nix on macOS
This post focused solely on the Nix package manager and Nix packages - for anyone that uses MacOS but is interesting in trying NixOS (or using it within a VM in MacOS), I definitely recommend Mitchell Hashimoto's NixOS repo: https://github.com/mitchellh/nixos-config
Honestly, doing that may be easier and a better option than using Nix packages in MacOS.
nix-darwin
- Nix-Darwin: Nix modules for Darwin
-
My MacBook setup (the 2024 version)
Just a shout out to nix-darwin[1]. It is nix, so initial setup is a bit involved. But then it truly makes it easy to configure everything in one place including mac defaults, homebrew apps declaratively and mas apps etc.
There is a sample config in nix-darwin repo[2].
[1] https://github.com/LnL7/nix-darwin
[2] https://github.com/LnL7/nix-darwin/blob/master/modules/examp...
-
macOS Sonoma Broke Grep
https://github.com/LnL7/nix-darwin/tree/master/modules
-
What is the difference between NixOS and any other distro running the nix package manager?
nix-darwin does similar thing for MacOS
-
How to install a library globally using nix-env (or home manager) on macos?
You can use https://github.com/LnL7/nix-darwin
- Nix-Darwin
-
Issues with installing applications on Macos
There are many threads around where you can learn more about this (and why it's complicated...), but https://github.com/nix-community/home-manager/issues/1341 and https://github.com/LnL7/nix-darwin/issues/139 seem like two of the most comprehensive.
-
Zero to Nix, an unofficial, opinionated, gentle introduction to Nix
Nix is pretty usable for both desktops and headless servers. Personally, I even use it on macOS without much trouble.
My system looks like any other install of Ventura, but all of my configuration, ranging from the terminal and VS Code to macOS-specific system preferences and Safari, is done declaratively in Nix [1]. The overwhelming majority of my installed software also comes from Nix packages, with some exceptions for stuff that is not packaged yet (e.g., I have Podman Desktop, the macOS ZFS port, Lulu, yubikey-manager-qt installed through Homebrew -- fortunately nix-darwin [2] also just lets me have an set of brews/casks in my config).
It was been a bit of a nightmare at first since the error messages are kind of horrific, and there can be a lack of good examples/docs on flakes. But I think the weekend worth of time I invested was worth it since I no longer need to rely on hacky shellscripts or remember to manually configure anything.
[1]: <https://github.com/nix-community/home-manager>
[2]: <https://github.com/LnL7/nix-darwin>
-
Beginner Question: Managing the global environment using Nix
Take a look at nix-darwin, this is what I use. It allows you to configure your system similar to NixOS including globally installed programs.
-
How to install Chrome on MacOS without homebrew?
This — I still use mas and brew —-cask through the nix-darwin module, though. It’s not exactly reproducible, but it’s at least closer to reproducible and declarative.
What are some alternatives?
TLP - TLP - Optimize Linux Laptop Battery Life
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
System76 Power Management - System76 Power Management
NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container
agenix - age-encrypted secrets for NixOS and Home manager
nix - Nix, the purely functional package manager
sops-nix - Atomic secret provisioning for NixOS based on sops
nixos-shell - Spawns lightweight nixos vms in a shell
linux-surface - Linux Kernel for Surface Devices
digga - A flake utility library to craft shell-, home-, and hosts- environments.
lima - Linux virtual machines, with a focus on running containers
NUR - Nix User Repository: User contributed nix packages [maintainer=@Mic92]