Skip to content
aw1cks-dotfilesPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

nix

Reusable Nix library plus a small set of public host configurations for NixOS, standalone Home Manager on Linux, and nix-darwin.

This repo is opinionated about a few things:

  • shared reusable configuration lives in modules/
  • repo-local host composition roots live in hosts/
  • flake.nix is generated from modules/flake-file.nix
  • downstream consumers should reuse exported modules, profiles, and flake-file wiring instead of copying contracts by hand

Start Here

Flake Surface

  • flakeModules.default: reusable module tree plus this repo's host imports
  • flakeModules.downstream-flake-file: reusable downstream flake-file.inputs.* contract from modules/_internal/flake-file-inputs/default.nix
  • templates.default: starter downstream flake layered on top of this library

Common Commands

  • Regenerate the generated flake: nix run .#write-flake
  • Rebuild the current machine: just rebuild
  • Run the pinned frontends directly:
    • nix run .#nh -- ...
    • nix run .#home-manager -- ...
    • nix run .#darwin -- ...

Notes

  • Standalone Home Manager hosts use configurations.home."user@host" naming.
  • The shared NVIDIA contract for standalone Home Manager lives under configurations.home.<name>.nvidia and expects a host-local JSON pin file.
  • Downstream flake-file consumers should import inputs.dendritic-lib.flakeModules.downstream-flake-file alongside inputs.flake-file.flakeModules.default.
  • Zoom is installed through the Homebrew cask on macOS and pkgs.zoom-us on Linux. The macOS cask avoids the ad-hoc-signed Nix package invalidating hash-bound screen-recording permissions after upgrades. When migrating, quit Zoom before just rebuild, then launch /Applications/zoom.us.app and grant screen-recording access again; remove stale Home Manager Zoom entries from Privacy & Security if necessary.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages