Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.
/ nix-config Public archive

My nix systems configuration

Notifications You must be signed in to change notification settings

doonga/nix-config

Repository files navigation

As of 7/6/24, I've decided to move to a simpler setup. This repo is no longer in service.

nix-config

built with nix

This repository holds my NixOS configuration. It is fully reproducible and flakes based.

Deployment is done using deploy-rs and nix-darwin, see usage. Unfortunately deploy-rs does not yet support deploying to a local machine without the use of SSH. Therefore for Darwin machines I rely on the darwin-rebuild command from nix-darwin.

For adding overlays see overlays.

Usage

Deploying

NixOS

Apply NixOS configuration to a node:

$ task nix:deploy-nixos host=nas

Darwin

Apply a Darwin configuration to the local machine:

$ task nix:apply-darwin host=todds-macbook

Adding overlays

Overlays should be added as individual nix files to ./overlays with format

final: prev: {
    hello = (prev.hello.overrideAttrs (oldAttrs: { doCheck = false; }));
}

For more examples see ./overlays.

Releases

No releases published

Sponsor this project

Packages

No packages published