https://github.com/alam0rt/nix-config
https://github.com/alam0rt/nix-config
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alam0rt/nix-config
- Owner: alam0rt
- Created: 2024-06-24T02:42:32.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-29T22:04:52.000Z (6 months ago)
- Last Synced: 2026-01-02T04:40:26.649Z (6 months ago)
- Language: Nix
- Size: 706 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nix-config
## Debugging
* Load the flake into the repl
```
nix repl
> :lf .
```
## Misc
### ruby
use [nixpkgs-ruby](https://github.com/bobvanderlinden/nixpkgs-ruby) by executing
```shell
nix flake init --template github:bobvanderlinden/nixpkgs-ruby#
direnv allow
```
# [nix-direnv](https://github.com/nix-community/nix-direnv)
Either add shell.nix or a default.nix to the project directory:
```nix
# save this as shell.nix
{ pkgs ? import {}}:
pkgs.mkShell {
packages = [ pkgs.hello ];
}
```
Then add the line use nix to your envrc:
```shell
$ echo "use nix" >> .envrc
$ direnv allow
```