Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/markuszoppelt/nix
- Owner: MarkusZoppelt
- Created: 2024-05-27T14:12:34.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T12:03:39.000Z (about 2 months ago)
- Last Synced: 2024-09-14T19:58:12.672Z (about 2 months ago)
- Topics: nix, nix-darwin, nixos, nixos-config
- Language: Nix
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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