Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 662 Bytes

README.md

File metadata and controls

37 lines (26 loc) · 662 Bytes

nixfiles

My configs, using nix, home-manager and nix-darwin

bootstrap

Necessary due to flakes.

macOS

$ nix build
$ sudo ./result/activate

NixOS

$ sudo nixos-rebuild switch --flake .

subsequent runs

$ darwin-rebuild switch --flake .
$ nixos-rebuild switch --flake .

structure

  • /hosts/ contains a folder for each unique device.
    • home.nix contains platform specific home-manager configs
    • default.nix is the system configuration
  • /hosts/common.nix contains non-platform specific configs. it is imported in home.nix.
  • /config/ contains program configs, imported via home-manager.