Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.25 KB

README.md

File metadata and controls

15 lines (11 loc) · 1.25 KB

Use cases

  • NixOS root on ZFS, for machines that run Linux desktop environment. Currently one laptop and one desktop. See bootstrap/nixos-root-on-zfs/README.md for the bootstrap steps.
  • NixOS root on EXT4 + ZFS datasets under /pool, for headless machines like NAS, VPS e.t.c.
  • Nix Home Manager on non-NixOS Linux systems for corp machines.
  • Nix Home Manager on Darwin for corp machines.

Boundary between NixOS and Nix Home Manager

The NixOS modules and Home Manager modules are isolated as much as possible. The Home Manager is installed in standalone mode via flake. This setup allows us to rely on NixOS as less as possible to avoid breaking the Home Manager experience on non NixOS systems.

From a packages point of view, NixOS modules cover the minimum softwares that are either required for system bootstrap or shipped with most of the distros and don't require customizations. All other packages go to Home Manager modules.

From a Linux desktop environment point of view, NixOS modules control system wise and hardware wise configs. It delegates controls to Home Manager modules right after the display mananger.

References