Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notheotherben/nix-env
Nix environment used to ensure that a system is configured to support development work
https://github.com/notheotherben/nix-env
Last synced: 23 days ago
JSON representation
Nix environment used to ensure that a system is configured to support development work
- Host: GitHub
- URL: https://github.com/notheotherben/nix-env
- Owner: notheotherben
- License: mit
- Created: 2022-11-06T23:45:55.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-12T22:50:51.000Z (3 months ago)
- Last Synced: 2024-11-09T02:33:59.833Z (3 months ago)
- Language: Nix
- Size: 69.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nix-env
My personal [Nix](https://nixos.org) home-manager configuration, used to bootstrap
development environments on my personal machines.```bash
darwin-rebuild switch --flake .#
```## Usage
To use this configuration, you'll need to install [Nix](https://nixos.org/nix/) and then run the following commands:```bash
# Install the nix-darwin package
nix run nix-darwin -- switch --flake github:notheotherben/nix-env# Install the home-manager activation package
nix build --no-link 'github:notheotherben/nix-env#homeConfigurations.sierra-mbp.activationPackage'# Activate the configuration
"$(nix path-info 'github:notheotherben/nix-env#homeConfigurations.sierra-mbp.activationPackage')"/activate
```In future, if you wish to update your configuration, you can run the following commands:
```bash
nix flake update --flake 'github:notheotherben/nix-env'nix run nix-darwin -- switch --flake github:notheotherben/nix-env
# Build the flake using concurrent builders
nix build --no-link 'github:notheotherben/nix-env#homeConfigurations.sierra-mbp.activationPackage' -j autohome-manager switch --flake 'github:notheotherben/nix-env#sierra-mbp'
```