Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/markuszoppelt/nix

my nix-darwin / NixOS config
https://github.com/markuszoppelt/nix

nix nix-darwin nixos nixos-config

Last synced: about 8 hours ago
JSON representation

my nix-darwin / NixOS config

Awesome Lists containing this project

README

        

# Nix(OS) config files

## Setup

First, install nix via [Determinate Nix Installer](https://github.com/DeterminateSystems/nix-installer).

On macOS, install nix-darwin

nix run nix-darwin -- switch --flake .

## Build system from flakes:

On Darwin:

darwin-rebuild switch --flake .#

On NixOS:

cp /etc/nixos/hardware-configuration.nix ./hosts//hardware-configuration.nix
sudo nixos-rebuild switch --flake .#

On Linux:

nix run nixpkgs#home-manager -- switch --flake .#Linux