mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 07:13:40 +00:00
e878efc4917ecc3f66781a47ffa964ba5bd88484
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
nix-config
This repo stores nix to manage my machines running both NixOS and macOS.
The configuration is very specific to my own machines and setup, but it may be a useful reference for anyone else learning or experimenting with nix, whether it be on a personal workstation or a server environment.
Setup
on macOS: install the latest unstable nix from https://github.com/numtide/nix-unstable-installer (for nix flakes), and nix-darwin: https://github.com/LnL7/nix-darwin
To run a rebuild:
make
Update
To update nixpkgs defined in flake.nix, run:
make update
If there are updates, they should be reflected in flake.lock.
Pre-commit hooks
Pre-commit hooks are automatically activated when direnv is installed.
Encryption
Overly sensitive configuration is encrypted with git-crypt.
Languages
Nix
96.6%
Shell
1.9%
Just
1.5%